Re: Memory leak (JVM 1.6 only)

2007-05-20 Thread Stephen Gray
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 increasin

Re: Memory leak (JVM 1.6 only)

2007-05-18 Thread Doron Cohen
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

Re: Memory leak (JVM 1.6 only)

2007-05-18 Thread Bill Au
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

Re: Memory leak (JVM 1.6 only)

2007-05-17 Thread Stephen Gray
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

Re: Memory leak (JVM 1.6 only)

2007-05-17 Thread Doron Cohen
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

Re: Memory leak (JVM 1.6 only)

2007-05-17 Thread Stephen Gray
@lucene.apache.org Sent: Tuesday, May 15, 2007 2:31:05 AM Subject: Memory leak (JVM 1.6 only) Hi everyone, I have an application that indexes/searches xml documents using Lucene. I'm having a problem with what looks like a memory leak, which occurs when indexing a large number of documents,

Re: Memory leak (JVM 1.6 only)

2007-05-17 Thread Otis Gospodnetic
. . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: Stephen Gray <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, May 15, 2007 2:31:05 AM Subject: Memory leak (JVM 1.6 only) Hi everyone, I have an application that indexes/searches x

Re: Memory leak (JVM 1.6 only)

2007-05-16 Thread Antony Bowesman
Daniel Noll wrote: On Tuesday 15 May 2007 21:59:31 Narednra Singh Panwar wrote: try using -Xmx option with your Application. and specify maximum/ minimum memory for your Application. It's funny how a lot of people instantly suggest this. What if it isn't possible? There was a situation a wh

Re: Memory leak (JVM 1.6 only)

2007-05-15 Thread Stephen Gray
Thanks, that narrows it down a bit. Thanks for all the replies to my question. Steve Mark Miller wrote: I don't have much help to offer other than to say I am also using a tweaked version of the IndexAccess code you are, with java 1.6, with hundreds of thousands to millions of docs, at multip

Re: Memory leak (JVM 1.6 only)

2007-05-15 Thread Daniel Noll
On Tuesday 15 May 2007 21:59:31 Narednra Singh Panwar wrote: > try using -Xmx option with your Application. and specify maximum/ minimum > memory for your Application. It's funny how a lot of people instantly suggest this. What if it isn't possible? There was a situation a while back where I sa

Re: Memory leak (JVM 1.6 only)

2007-05-15 Thread Narednra Singh Panwar
try using -Xmx option with your Application. and specify maximum/ minimum memory for your Application. Hope this will solve you problem. On 5/15/07, Stephen Gray <[EMAIL PROTECTED]> wrote: Hi everyone, I have an application that indexes/searches xml documents using Lucene. I'm having a prob

Re: Memory leak (JVM 1.6 only)

2007-05-15 Thread Mark Miller
I don't have much help to offer other than to say I am also using a tweaked version of the IndexAccess code you are, with java 1.6, with hundreds of thousands to millions of docs, at multiple locations, for months -- and I have not seen any memory leaks. Leads me to think the leak may be with y

Memory leak (JVM 1.6 only)

2007-05-14 Thread Stephen Gray
Hi everyone, I have an application that indexes/searches xml documents using Lucene. I'm having a problem with what looks like a memory leak, which occurs when indexing a large number of documents, but only when the application is running under JVM 1.6. Under JVM 1.5 there is no problem. What