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,...
  • May 23, 2022
  • 0 Comments
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...
  • May 22, 2022
  • 0 Comments
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...
  • May 16, 2022
  • 0 Comments
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...
  • May 15, 2022
  • 0 Comments