Ask Your Question
0

Out OF MEMORY Error

asked 2015-01-15 05:21:26 -0700

viru gravatar image

Hi All,

I have 8 GB of RAM in the system and before running the opendaylight i set :-

export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=1024m"

After that i run the Service Provider Edition using the command line:-

./run.sh -Xmx2G -of13

but i am getting below Out of memory Error :-

root@sdn-HP-Pro-3330-MT:/home/sdn/virender/HYDROGEN/integration/distributions/serviceprovider/target/distributions-serviceprovider-0.3.0-SNAPSHOT-osgipackage/opendaylight# ./run.sh -Xmx2G -of13 find: `./configuration/initial.available': No such file or directory JVM maximum memory was set to -Xmx2G. 2015-01-15 18:45:27.430 IST [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - I'm a GossipRouter will listen on port 12001 osgi> 2015-01-15 18:45:27.473 IST [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - Started GossipRouter GossipRouter started at Thu Jan 15 18:45:27 IST 2015 2015-01-15 18:45:27.473 IST [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - Starting the ClusterManager Listening on port 12001 bound on address 0.0.0.0/0.0.0.0 Backlog is 1000, linger timeout is 2000, and read timeout is 0 2015-01-15 18:45:31.926 IST [Start Level Event Dispatcher] INFO o.o.c.c.i.ConfigurationService - ConfigurationService Manager init 2015-01-15 18:45:33 IST [org.apache.catalina.mbeans.GlobalResourcesLifecycleListener] SEVERE org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans No global naming context defined for server 2015-01-15 18:45:37 IST [com.sun.jersey.core.spi.component.ProviderServices] SEVERE com.sun.jersey.core.spi.component.ProviderServices getInstances The class org.opendaylight.aaa.sts.TokenAuthFilter could not be found. This class is ignored. 2015-01-15 18:45:37 IST [com.sun.jersey.spi.inject.Errors] WARNING com.sun.jersey.spi.inject.Errors processErrorMessages The following warnings have been detected with resource and/or provider classes: WARNING: Parameter 2 of type org.opendaylight.yangtools.yang.data.api.Node from public abstract javax.ws.rs.core.Response org.opendaylight.controller.sal.rest.api.RestconfService.updateConfigurationData(java.lang.String,org.opendaylight.yangtools.yang.data.api.Node) is not resolvable to a concrete type WARNING: Parameter 2 of type org.opendaylight.yangtools.yang.data.api.Node from public abstract javax.ws.rs.core.Response org.opendaylight.controller.sal.rest.api.RestconfService.createConfigurationData(java.lang.String,org.opendaylight.yangtools.yang.data.api.Node) is not resolvable to a concrete type WARNING: Parameter 1 of type org.opendaylight.yangtools.yang.data.api.Node from public abstract javax.ws.rs.core.Response org.opendaylight.controller.sal.rest.api.RestconfService.createConfigurationData(org.opendaylight.yangtools.yang.data.api.Node) is not resolvable to a concrete type 2015-01-15 18:45:38.792 IST [fileinstall-./plugins] INFO o.o.s.core.internal.Controller - snmp4sdn's Controller: Initializing! 2015-01-15 18:45:38.793 IST [fileinstall-./plugins] INFO o.o.s.core.internal.Controller - snmp4sdn's Controller: Starting! 2015-01-15 18:45:40.814 IST [fileinstall-./plugins] WARN o.o.s.core.internal.Controller - PACKETIN is now listened by org.opendaylight.snmp4sdn.internal.DataPacketMuxDemux@1707d770 2015-01-15 18 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-15 08:07:51 -0700

Maros gravatar image

Running with following command should help:

./run.sh -Xmx2G -of13 -XX:MaxPermSize=512m

The MAVEN_OPTS you set are only for building the controller from sources.

You are however using the HYDROGEN release and I would strongly suggest moving to more recent version: HELIUM-SR1 if possible. The HYDROGEN is outdated now.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-15 05:21:26 -0700

Seen: 377 times

Last updated: Jan 15 '15