Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8600
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: memory leak jconsole |
| References | <j6kp8r$ch4$1@online.de> |
| Message-ID | <xZljq.177$ma7.66@newsfe19.iad> (permalink) |
| Date | 2011-10-06 10:56 -0700 |
On 10/6/11 10:41 AM, Philipp Kraus wrote: > Hello, > > i try to debug my java codes with JNI calls for memory leaks. I have > written a short main program that calls the JNI functions > but the JNI call runs very fast. I start jconsole or Java Visual VM and > run my testprogram but the test program finishes and > jconsole can't find the PID. On each run I get another PID. How can I > debug my testprogram with the tools? > > Thanks > > Phil > Perhaps put a loop your test program. Reading a line from the console might also help. See System.in.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
memory leak jconsole Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-06 19:41 +0200
Re: memory leak jconsole Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-06 10:56 -0700
Re: memory leak jconsole Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-06 20:33 +0200
csiph-web