July 24th, 2009, 04:12 PM
I found an article that explains at least some of the extra resident memory use: it is about how malloc and free work and a very good read. It has two parts:...
July 24th, 2009, 03:43 PM
Thank you both for your answers.
Lindley, I was aware of that, but when I delete a bunch of objects, on subsequent generation of objects the resident memory shouldn't go up or not as much. But it...
July 24th, 2009, 01:55 PM
bertandernie,
Thanks for the reply, I considered that, but I think there is more happening. Let me give an example of a short run which I profiled. (My final runs run out of memory on a system...
July 24th, 2009, 10:26 AM
I programmed a simulation model that uses lot's (~1e8) small objects, stored in std::map. These number objects increases as the simulation progresses in time. The model naturally uses a lot of ram,...