Skip to content

remove readlines() #45

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

Merged
merged 1 commit into from
Feb 21, 2018
Merged

Conversation

McCulloughRT
Copy link
Contributor

stdin.readlines() is causing the entire output of tippecanoe-decode to be buffered instead of streamed. For very large mbtiles (like the United States), this generates unreasonably high memory usage.

stdin.readlines() is causing the entire output of tippecanoe-decode to be buffered instead of streamed. For very large mbtiles (like the United States), this generates unreasonably high memory usage.
@drewbo
Copy link
Contributor

drewbo commented Feb 21, 2018

Thanks @McCulloughRT, great catch! A bit embarrassing to put that code in a file called stream_*.

We weren't building forks on Circle-CI but I ran the build locally and everything looks 👍

@drewbo drewbo merged commit e28f6e0 into developmentseed:master Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants