Just to let you know, Kimchy has tracked down and fixed a memory leak. You
can see the commit here:
If people can test this out and let us know if it works, that'd be great.
Kind Regards,
-Mathew Davies.
On 8 July 2011 01:59, Shay Banon shay.banon@elasticsearch.com wrote:
Its possible, I am trying to track this down and check.
On Friday, July 8, 2011 at 12:28 AM, lmader wrote:
We are not using sigar directly, unless ES does something with it. We
are running ES as a service.Is it possible anything in the network layer or nio stuff could be
leaking?Thanks so much,
LarOn Jul 7, 7:20 am, Shay Banon shay.ba...@elasticsearch.com wrote:
Thats a difficult one the figure out. elasticsearch does not use native
memory (by default), and this leak can come from allocations of native
memory, bugs in native libraries used, or leaks in the java process itself.
Are you using sigar within that app?On Thursday, July 7, 2011 at 2:17 AM, lmader wrote:
I'm not sure I follow your suggestion: As I mentioned, the memory
leak is not in the JVM memory - not in the regular heaps. The JVM
monitor shows normal memory usage and garbage collection patterns.
However the java process memory grows until all system memory is gone.On Jul 6, 3:26 pm, <jp.lora...@cfyar.com (http://cfyar.com)> wrote:
Try to find out which kind ofmemorythe heap is piling up (Perma Old New).
Tomcat is a notorious PermaGen leaker.-------- Original Message --------
Subject: Re:Memoryproblems
From: lmader <lmaderintre...@gmail.com (mailto:lmaderintre
...@gmail.com)>
Date: Wed, July 06, 2011 4:52 pm
To: users <us...@elasticsearch.com (mailto:us ...@elasticsearch.com)>
We are seeing the same issue. That is, running elasticsearch server
on linux with the sun jdk, the applicationmemoryseems constant, but
the swapmemorysteadily grows over the course of a week or so, until
we run out of swap space.
Additionally, I believe that our elastic client that runs in a Tomcat
webapp is leaking non-heapmemory. After a period of time, the
processmemory(but not the JVMmemory) starts to grow steadily until
we have to restart the tomcat server. We never get a java "out ofmemory"
error, instead the java process eventually consumes all of
systemmemory.
We have been doing our best to isolate this, and it really does seem
to be the elastic client that is leaking thememory. Perhaps the
sever side swapmemorygrowth is related.
I think we need help with this one.
Thanks,
Lar