WebSphere Application Server 6.1 -> 8.5
Add the following string to the Generic JVM arguments field:
-Xdump:heap:events=user
WebSphere Application Server V6.0.2, V5.1.1
The environment variable is: IBM_HEAPDUMP
And the value it should be set to is: TRUE