You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that laneletMap occupies memory for at least one object. In the example below, it doesn't occupy memory for 8 objects, which seems normal. However, it will still occupy memory for one object, which is hard to accept, especially since my OSM file is large. How can I clear all memory usage?
importlanelet2importtimedefbuild_graph():
j=lanelet2.projection.UtmProjector(lanelet2.io.Origin(49.0, 8.4))
lanelet_map=lanelet2.io.load("files/t2.osm", j)
dellanelet_map# del also doest workreturnNoneif__name__=="__main__":
foriinrange(8):
build_graph()
time.sleep(100)
And, a 70MB OSM file that occupies about 600MB of memory. What are the methods to reduce memory usage as much as possible?
The text was updated successfully, but these errors were encountered:
I found that laneletMap occupies memory for at least one object. In the example below, it doesn't occupy memory for 8 objects, which seems normal. However, it will still occupy memory for one object, which is hard to accept, especially since my OSM file is large. How can I clear all memory usage?
And, a 70MB OSM file that occupies about 600MB of memory. What are the methods to reduce memory usage as much as possible?
The text was updated successfully, but these errors were encountered: