I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start up script to get a heap dump when we get...
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 on the stack vector<Type> *vect =...
How can I check Heap Size (and Used Memory) of a Java Application on Linux through the command line? I have tried through jmap. But it gives info. about...
This question already has answers here: What’s the relationship between “a” heap and “the” heap? (10 answers) Closed 10 months ago. Why are the runtime heap used for dynamic...
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 and allocated memory lives on the...
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 how to deal with memory fragmentation,...
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 heap error. It turns out that...
I am working on a Windows 2003 server (64-bit) with 8 GB RAM. How can I increase the heap memory maximum? I am using the -Xmx1500m flag to increase...
I am getting the following exception repeatedly each time I try to run the program. Error occurred during initialization of VM Could not reserve enough space for object heap...
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 in a program that creates several...