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

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:
- parallelLimit can be calculated based on tiles number
- 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.
I have uploaded an image with this spec:
13.62MB
original dimension: 15822 x 1897
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:
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.