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? Best Answer 6
Ehcache talks about on-heap and off-heap memory. What is the difference? What JVM args are used to configure them? Best Answer 6
In my company there is a coding rule that says, after freeing any memory, reset the variable to NULL. For example … void … Read more
I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start up script to get … Read more
Are all of the following statements true? vector<Type> vect; //allocates vect on stack and each of the Type (using std::allocator) also will be … Read more
How can I check Heap Size (and Used Memory) of a Java Application on Linux through the command line? I have tried through … Read more
This question already has answers here: What’s the relationship between “a” heap and “the” heap? (10 answers) Closed 10 months ago. Why are … Read more
I’m new to Go and I’m experiencing a bit of cognitive dissonance between C-style stack-based programming where automatic variables live on the stack … Read more
I’ve heard the term “memory fragmentation” used a few times in the context of C++ dynamic memory allocation. I’ve found some questions about … Read more
I have a production server running with the following flag: –XX:+HeapDumpOnOutOfMemoryError Last night it generated a java-38942.hprof file when our server encountered a … Read more
This question already has answers here: Error java.lang.OutOfMemoryError: GC overhead limit exceeded (22 answers) Closed 2 years ago. I am getting this error … Read more