Microsoft
Software
Hardware
Network
Question : How to generate Java Heap Dump?
Hi,
I want to generate Java Heap Dump to detect Memory Leak. Although I am able to generate Javacore files I could not generate heapdump files. I am using IBM Websphere 6.1 on Windows.
I did following settings:
Navigated to: Servers > Application Servers > Server1 (or the name of
the server to get a heap dump) > Process Definition > Environment Entries
Then set following properties:
IBM_HEAPDUMP = true
IBM_HEAP_DUMP = true
IBM_JAVA_HEAPDUMP_TEXT=tru
e
IBM_HEAPDUMP_OUTOFMEMORY=f
alse
JAVA_DUMP_OPTS=ONANYSIGNAL
(JAVADUMP[
5],HEAPDUM
P[5])
Then I am running following commands in command prompt:
wsadmin> set jvm [$AdminControl completeObjectName type=JVM,*]
wsadmin> $AdminControl invoke $jvm dumpThreads
Am I missing something?
Answer : How to generate Java Heap Dump?
We figured out why we couldn't generate Heap dumps. Instead of running the following command:
$AdminControl invoke $jvm dumpThreads
The following should be run:
$AdminControl invoke $jvm generateHeapDump
Random Solutions
Can the Winsock Control in eVB support wireless programing for pocket PC??
IP phones with built in switches.
GroupWise SMTP/MIME Gateway
Unable to access machines in different subnets
Can access Speedstream 6520 Router, but Internet is constantly not working!!PLEASE HELP ME!!
New Office Setup
seeking drivers for HP Pavillion ze4500 notebook (network card, modem, etc.)
Auto Reconnect a PPTP Connection in Windows XP or Server
Can I add a Router on another Router?
CISCO VLANS Acting as DHCP Relay Agents