my Application uses a lot of heap (-Xmx7g) and still it will run to an OutOfMemory-Exception. So I tried to save the heap with the -XX:+HeapDumpOnOutOfMemoryError JVM-Option. But after the file was created successfully, the programm runs into this Exception: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
Thanks in advance