I actually had to deal with a leak in non-heap native memory once.  I am
running on Linux so I just use good old "ps" to monitor native memory usage.

Bill

On 5/18/07, Stephen Gray <[EMAIL PROTECTED]> wrote:

Thanks. If the extra memory allocated is native memory I don't think
jconsole includes it in "non-heap" as it doesn't show this as
increasing, and jmap/jhat just dump/analyse the heap. Do you know of an
application that can report native memory usage?

Thanks,
Steve

Doron Cohen wrote:
> Stephen Gray <[EMAIL PROTECTED]> wrote on 17/05/2007 22:40:01:
>
>
>> One interesting thing is that although the memory allocated as
>> reported by the processes tab of Windows Task Manager goes up and up,
>> and the JVM eventually crashes with an OutOfMemory error, the total
size
>> of heap + non-heap as reported by jconsole is constant and much lower
>> than the Windows-reported allocated memory. I've also tried Netbeans
>> profiler, which suggests that the variables in the heap that are
>> continually surviving garbage collection do not all originate from one
>> class.
>>
>
> Smells like native memory leak? Can jconsole/jmap/jhat monitor native
mem?
> I once spent some time on what finally was a GZipOutputStream native mem
> usage/leak. Moving from Java 1.5 to 1.6 could expose such problem...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Gray
Archive IT Officer
Australian Social Science Data Archive
18 Balmain Crescent (Building #66)
The Australian National University
Canberra ACT 0200

Phone +61 2 6125 2185
Fax +61 2 6125 0627
Web http://assda.anu.edu.au/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to