Out of memory exception
Luis Gomez
Hi controller devs,
Some time ago I wrote a bug to address the default -Xmx for the editions, now it looks like we have to look at the XX:MaxPermSize as well. I will add this in the bug.
https://bugs.opendaylight.org/show_bug.cgi?id=772
Begin forwarded message:
toggle quoted message
Show quoted text
Some time ago I wrote a bug to address the default -Xmx for the editions, now it looks like we have to look at the XX:MaxPermSize as well. I will add this in the bug.
https://bugs.opendaylight.org/show_bug.cgi?id=772
Begin forwarded message:
From: "Debolina Bandyopadhyay (dbandyop)" <dbandyop@...>
Subject: Re: [integration-dev] Out of memory exception
Date: May 5, 2014 at 2:21:29 PM PDT
To: "Raghurama Bhat (ragbhat)" <ragbhat@...>, "Christopher O'SHEA" <christopher.o.shea@...>, "integration-dev@..." <integration-dev@...>
This works perfectly. Thanks, Raghu.
From: Raghurama Bhat (ragbhat)
Sent: Monday, May 05, 2014 1:49 PM
To: Debolina Bandyopadhyay (dbandyop); Christopher O'SHEA; integration-dev@...
Subject: Re: [integration-dev] Out of memory exception
Debolina,
From the exception, it looks like you are running out of Permgen space. -Xmx option only increases the heap memory. We need to pass the XX option (As in -XX:MaxPermSize=256m) to the JVM to increase Permgen space.
Can you please try adding this option to run.sh?
./run.sh –Xmx2G –XX:MaxPermSize=256M
Thanks,
—Raghu
From: "Debolina Bandyopadhyay (dbandyop)" <dbandyop@...>
Date: Monday, May 5, 2014 at 1:37 PM
To: Christopher O'SHEA <christopher.o.shea@...>, "integration-dev@..." <integration-dev@...>
Subject: Re: [integration-dev] Out of memory exception
Even after making it 2G, I’m facing the same issue.
Thanks,
Debolina
From: Christopher O'SHEA [mailto:christopher.o.shea@...]
Sent: Monday, May 05, 2014 12:35 PM
To: Debolina Bandyopadhyay (dbandyop); integration-dev@...
Subject: Re: [integration-dev] Out of memory exception
Hi Debolina,
What is the Xmx size you start with? Cause I believe the SP takes up more memory than the recommended 1G.
In the Integration test setup we start it with 2G.
./run.sh -Xmx2G
Thanks
Chris
From: "Debolina Bandyopadhyay (dbandyop)" <dbandyop@...>
Date: Monday, May 5, 2014 at 12:20 PM
To: "integration-dev@..." <integration-dev@...>
Subject: [integration-dev] Out of memory exception
Hello,
Whenever I’m trying to debug, in the serviceprovider distribution, I’m hitting the java out of memory exception. [~ /opendaylight/integration/distributions/serviceprovider/target/
distributions-serviceprovider-0.1.2-SNAPSHOT-osgipackage/opendaylight]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]2014-05-05 12:07:55.225 PDT
[DeadlockMonitor{TransactionIdentifier{name='ConfigTransaction-78-80'}}] WARN o.o.c.c.m.i.DeadlockMonitor$DeadlockMonitorRunnable -ModuleIdentifier{factoryName='bgp-reachability-ipv4', instanceName='example-ipv
4-topology'} did not finish after 7513 ms 2014-05-05 12:07:57.552 PDT
[DeadlockMonitor{TransactionIdentifier{name='ConfigTransaction-78-80'}}] WARN o.o.c.c.m.i.DeadlockMonitor$DeadlockMonitorRunnable -ModuleIdentifier{factoryName='bgp-reachability-ipv4', instanceName='example-ipv
4-topology'} did not finish after 9839 ms2014-05-05 12:08:18.916 PDT
[ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR o.o.c.l.b.i.UncaughtExceptionPolicy - Thread Thread[ContainerBackgroundProcessor[StandardEngine[Catalina]],5,main] died because of an uncaught exception java.lang.OutOfMemoryError: PermGen space
Is this a known issue?
Thanks,
Debolina
_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev