Top "Memory" questions

Use this tag for memory management or issues in programming.

Understanding the Linux oom-killer's logs

My app was killed by the oom-killer. It is Ubuntu 11.10 running on a live USB with no swap and the …

linux memory out-of-memory
What is the default stack size, can it grow, how does it work with garbage collection?

I understand that each thread has its own stack. Primitive types and references are kept on the stack, and that …

java memory stack
Python readlines() usage and efficient practice for reading

I have a problem to parse 1000's of text files(around 3000 lines in each file of ~400KB size ) in a …

python performance memory python-2.6 readlines
ios app maximum memory budget

I'm working on an ios game that's targeting as a minimum the 3gs. We are using HD assets for retina …

iphone ios memory memory-management
How to read file content into istringstream?

In order to improve performance reading from a file, I'm trying to read the entire content of a big (several …

c++ optimization memory stream stringstream
Best way to increase heap size in catalina.bat file

I have tomcat 6 server on windows xp ,And I start tomcat through console i.e. using startup.bat. AFAIK catalina.…

tomcat memory memory-leaks tomcat6 heap-size
In-memory size of a Python structure

Is there a reference for the memory size of Python data stucture on 32- and 64-bit platforms? If not, this …

python memory memory-footprint
Difference between "on-heap" and "off-heap"

Ehcache talks about on-heap and off-heap memory. What is the difference? What JVM args are used to configure them?

java memory heap ehcache
How do you determine the size of an object in C++?

For example, say I have a class Temp: class Temp { public: int function1(int foo) { return 1; } void function2(int bar) { …

c++ class memory size memory-management