-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resources are not freed properly #6
Comments
Can you share the command you're using (or a filtered version of it) to help me determine which modules are in play? Thanks. |
sure, here you go: |
Great, thanks. It's going to take me some time to get to this, as it involves firing up the heap snapshot processor, etc. |
Any update on this matter? I have the same problem. Copying from tmstyle to mbtiles as well. |
I haven't had a chance to look into this yet, sorry. |
I think I just ran into this trying to generate a map of just the US based on a MapBox style. The command was very similar to what Uhlat used. I left it running and it got most of the way through zoom level 12 before bailing: |
Forgot to mention I am using version 0.5.3. |
@morganmcc which version of Node and which OS? (Probably doesn't matter, but it might make a difference.) |
I'm on Ubuntu 14.0.4 using node v0.10.40. I ran it again yesterday and periodically kept an eye on memory resources. It wasn't in any way a thorough test, but I did not notice any steady increase in memory. So, if there is a leak, it is a small one. Not sure if it helps, but I did notice that there are occasional CPU spikes and it seems to pause on a particular tile but then the CPU drops again and the log of tile numbers starts up again. Maybe that is just periodic cache cleanup? What version of node have you been working with in your environment? I could try that one. |
When downloading big tilesets, the system will slowly run out of RAM since somewhere in the implementation (or external dependencies) resources are not free properly. See Screenshot for an example.
The text was updated successfully, but these errors were encountered: