I am trying to analyze an application that again and again dies with a heap out-of-memory.
The application is started with:
export JAVA_OPTS="-Xms