This question is related to this one:
If I have a heap dump report that a 95% of threads are left in wait or parked state, and that there is arround 750MB free heap memory available how is it possible to get an java.lang.OutOfMemoryError?
Since there seems to be free heap according to the report this seems weird to me!
Can anyone help me interpret this?
What kind of OS are you using? Is it 32 Bit oder 64 Bit? Is your JDK 32 Bit oder 64 Bit? How much heap space do you need in total?
Try to run your program with more maximum heap space. I had the same problem while I wanted to transform a XML-file. You just to set following parameters:
In your shell: