Re: [jgroups-users] OOM issues?

Questions/problems related to using JGroups <[email protected]> Tue, 30 Oct 2018 08:46:41 +0100
Newsgroups gmane.comp.java.javagroups.general
Message-ID <mailman.45896.1540885610.1409.javagroups-users@lists.sourceforge.net>

On 29/10/18 22:01, Questions/problems related to using JGroups wrote:
> Hi all,
> 
> Am grasping at straws a bit here before I (learn how to) dig into what's 
> going on. Short version: customers with our product are starting to hit 
> OOM errors, and this is generally with Java 8 and JGroups 4.0.13. I 
> haven't looked into what's in the memory yet, but with a simple test of 
> our code where the process doesn't do anything but sit there and take 
> part in a jgroups cluster, I see the tenured memory just grow and grow 
> up to a max (we used to run with -Xmx32m, just bumped it up to 128m, but 
> my test is with 20m just for curiosity). Am using JConsole, which may or 
> may not be the right thing.

You said 'a simple test of our code': does this occur with a simple 
cluster of standalone JGroups nodes (e.g. Draw) too?

There's no way around attaching jmc to a running node and seeing which 
class increases memory. JConsole might help, too, but jmc has more 
detailed info.


> Anyway, am just curious for any stories of similar things with recent 
> JDK versions or some random thing I might have missed. Our jchannel 
> stack (which I can share again) is unchanged for a while now.

Yes, please post it. A simple misconfig (e.g. omitting STABLE) could 
easily lead to this...

> I thought 
> maybe we made a mistake in the jdk 6->8 changes and left some resources 
> unclosed, but I'm seeing the memory issue in nodes we have that don't 
> actually do anything after startup.


> As above, just casting about for more info in case someone has seen this 
> already. I don't look forward to the idea of trying to debug the JDKs if 
> needed.

The only thing you may have to look into is the GC configuration, but I 
don't think this is the root cause.

I haven't seen a memory leak in the 3.6 or 4.x (master) branches for a 
long time

> Thanks all,
> Bobby
> 
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
> 

-- 
Bela Ban | http://www.jgroups.org



_______________________________________________
javagroups-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javagroups-users