Skip to content

out of memory issue #15

@jjhesk

Description

@jjhesk

I have uploaded an image with this spec:
13.62MB
original dimension: 15822 x 1897

basemap-1469553899965

The issue that is running out memory on each every time. With the heroku free dyno it gives me R14 error on the first try when the RAM exceed 500MB. Then I pull the code down and run it on windows with 8GB ram 64bit.

I use parallel limit =5 which is the default setting and i found that will crash every time on the zoom level 6. I think the better design show give the gm to release the ram when starting the next zoomlevel. that will squeeze out some memory from the process. i can think of another way using serial async process.

my suggestion or idea:

  1. parallelLimit can be calculated based on tiles number
  2. using serial sync process

maybe if that has another callback calculation strategy before firing up the command on gm or im would be great. because you dont know what is the computation restrain in different environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions