Re: Out of memory exception
Debolina Bandyopadhyay (dbandyop) <dbandyop@...>
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@...>
Even after making it 2G, I’m facing the same issue.
Thanks, Debolina
From: Christopher O'SHEA [mailto:christopher.o.shea@...]
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@...>
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
|
|