debugging - Why does my Visual Studio C++ 2013 program use up so much more RAM in Debug mode than it does in Release? -
i'm running project organizes number of rectangle objects r*tree index, optimized loading of geospatial mapping data.
the project loads map cut 2 million rectangles, , organizes them in tree-like structure, each leaf node of tree contains groupings of these rectangles based on mapset coordinates.
in release mode of visual studio c++, ram costs @ 500-700mb duration.
however, when in debug, ram costs quite high closing between 1.7-2.0 gigabytes.
what wondering drastic increase in ram cost coming from? looking decrease cost of memory in debug breakpoints , error-handling can done without issue. otherwise bad-memory allocation exceptions pain when dealing maps contain more 2 million rectangles.
Comments
Post a Comment