Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8600

Re: memory leak jconsole

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe19.iad.POSTED!83aa503d!not-for-mail
From Daniel Pitts <newsgroup.nospam@virtualinfinity.net>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0) Gecko/20110922 Thunderbird/7.0
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: memory leak jconsole
References <j6kp8r$ch4$1@online.de>
In-Reply-To <j6kp8r$ch4$1@online.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Lines 16
Message-ID <xZljq.177$ma7.66@newsfe19.iad> (permalink)
X-Complaints-To abuse@newsrazor.net
NNTP-Posting-Date Thu, 06 Oct 2011 17:56:45 UTC
Date Thu, 06 Oct 2011 10:56:45 -0700
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8600

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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