Hi,
I would like to specify amount of memory used when -XX:+HeapDumpOnOutOfMemoryError
VM argument is used. Normally, I control the heap size using -Xmx<size>
VM argument. But when I do that the out of memory error never occurs. Does anybody know a way to specify such a parameter so that when the heap size (or even the stack size) reaches that parameter the out of memory error is thrown and I can get the heap dump?
Thanks.