forkJvmArgs used to be "-Xmx2G" before ISPN-8478. I reduced the heap to 1G because we were trying to run the build on agent VMs with only 4GB of RAM, and the 2GB heap was making the build run out of native memory.

I've yet to see an OOME in the core tests, locally or in CI. But I also included -XX:+HeapDumpOnOutOfMemoryError in forkJvmArgs, so assuming there's a new leak it should be easy to track down in the heap dump.

Cheers
Dan


On Wed, Feb 14, 2018 at 11:46 PM, Sanne Grinovero <sanne@infinispan.org> wrote:
Hey all,

I'm having OOMs running the tests of infinispan-core.

Initially I thought it was related to limits and security as that's
the usual suspect, but no it's really just not enough memory :)

Found that the root pom.xml sets a <forkJvmArgs> property to Xmx1G for
surefire; I've been observing the growth of heap usage in JConsole and
it's clearly not enough.

What surprises me is that - as an occasional tester - I shouldn't be
the one to notice such a new requirement first. A leak which only
manifests in certain conditions?

What do others observe?

FWIW, I'm running it with 8G heap now and it's working much better;
still a couple of failures but at least they're not OOM related.

Thanks,
Sanne
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev