Quantcast

Memory issue about Road

classic Classic list List threaded Threaded
1 message Options
leo leo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Memory issue about Road

Hi everyone,
    I added a road on earth by class RoadSurfaceLayer, just like the diagram below.

    The memory has been increasing when I moved the camera manipulator forward,no matter the road was not in the viewpoint. The memory didn't release until overflowed.If I annotated the statement "//compiler.compile(features, options().style().get(), fc);" at line 281 in the file RoadSurfaceLayer.cpp
the road was disappeared and the memory was never increased. So I think the nodes of roads are created in the function "compiler.compile(features, options().style().get(), fc);" but they weren't released in time or the release didn't work.
Loading...