lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Gray <Stephen.G...@anu.edu.au>
Subject Re: Memory leak (JVM 1.6 only)
Date Mon, 21 May 2007 00:22:59 GMT
Thanks, the link was helpful. I'll let you know if I find anything.

Thanks for all the replies to this.

Steve

Doron Cohen wrote:
> Stephen Gray 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?
>>     
>
> Sorry, but I didn't profile native memory for quite a long
> time... In my specific case that was not needed b/c problems
> begun as I started using GZipOutputStreams very aggressively,
> but with fine control over the underlying Java IO buffers.
> So when I got the OOM, it was obvious that the problem was
> in native mem. Another different behavior with native mem
> issues is that increasing max Java heap size might actually
> have a negative effect b/c less free native memory remains.
>
> Just in case you haven't checked that yet, there's some useful info in
> http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/memleaks.html
> including pointers to native memory analysis tools.
>
> Once you find the cause, it would be interesting to hear what
> it was, and especially how you found it...
>
> Regards,
> Doron
>
>   
>> Thanks,
>> Steve
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>   


-- 
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message