On Fri, 3 Nov 2017 10:56:48 +0100
Stephen Kitt <sk...@redhat.com> wrote:
> Another avenue could be to look at the overcommit settings, but I
> suspect that the JVM would fail to start altogether if we adjusted
> those.

Actually that’s worth trying anyway:

    sysctl -w vm.overcommit_memory=2

before starting the JVM, will prevent it from over-allocating memory.
We’ll get a heap dump when that happens, if the JVM actually manages to
start (which I suspect it won’t, with a 2G Xmx on a 4G system).

Regards,

Stephen

Attachment: pgpTFGFB3AHgK.pgp
Description: OpenPGP digital signature

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to