memory-fragmentation

What does fragmented memory look like?

I have a mobile application that is suffering from slow-down over time. My hunch, (In part fed by this article,) is that this is due to fragmentation of memory slowing the app down, but I'm not sure. Here's a pretty graph of the app's memory use over time: The 4 peaks on the graph are 4 executions of the exact same task on the app. I ...

Detecting memory fragmentation problem in a process

What are the various mechanisms using which we can detect if a process execution is leading to memory fragmentation? Are there any tools available for the same? Suggestion for tools which work with 'C' code and can run on Windows, Linux and VxWorks will be helpful. ...

Design approach, string table data, variables, stl memory usage

I have an old structure class like this: typedef vector<vector<string>> VARTYPE_T; which works as a single variable. This variable can hold from one value over a list to data like a table. Most values are long,double, string or double [3] for coordinates (x,y,z). I just convert them as needed. The variables are managed in a map like this...

strategy to allocate/free lots of small objects

hello I am toying with certain caching algorithm, which is challenging somewhat. Basically, it needs to allocate lots of small objects (double arrays, 1 to 256 elements), with objects accessible through mapped value, map[key] = array. time to initialized array may be quite large, generally more than 10 thousand cpu cycles. By lots I m...

How does iOS solve memory fragmentation?

I couldn't find any documentation about memory management of iOS. Especially about memory fragmentation. If you know any document about this, please let me know. ...