Potential memory issue when using `get_boundaries`
See original GitHub issueHello, I did try to use one of your examples to get the county boundaries of Great Britain
COUNTRY = "Great Britain"
def main() -> None:
print("This is my main()")
fp = get_data(COUNTRY)
osm = OSM(fp)
boundaries = osm.get_boundaries()
boundaries.plot(facecolor=None, edgecolor="gray")
When the execution reaches osm.get_boundaries()
it hangs for a while and then it crashes with this error message:
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
Which could be caused by an insufficient memory issue. Running this on an Ubuntu 20.04 machine, using a python 3.9.7 virtual environment. Has anyone encountered this issue? Thanks a lot for the help.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
What could be causing the memory leak in my paint method?
Don't know if it will cause a memory leak or not but you should NOT be doing any file I/O in any painting...
Read more >Understanding Memory Leaks in Java
Memory leaks are a genuine problem in Java. In this tutorial, we'll learn what the potential causes of memory leaks are, how to...
Read more >potential memory leak and performance issue.
Hello all,. We are running Gerrit ver 2.11.4 (with one plugin 'javamelody'). We run it as a service by running `gerrit.sh run`. ......
Read more >Facing memory leak issue while using BoundsCalculator ...
We are facing memory leak issue while using BoundCalculator class to get model object boundaries. ... GetBounds(pageModel, pageModel.
Read more >High Memory utilization and their root causes
The key problem with caches is soft references, which have the advantage ... of a potential memory shortage; in essence, to avoid an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the clarification @HTenkanen. So if I want to get the county boundaries a sensible way would be to iterate through all the counties and get each boundary, right? Giving it a try.
This is still happening for me. Is this solved?