[OPNFLWPLUG-255] of-flow: odl runs out of memory Created: 28/Aug/14  Updated: 27/Sep/21  Due: 04/Sep/14  Resolved: 03/Sep/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Gubka Assignee: Timotej Kubas
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: Text File opendaylight.log    
External issue ID: 1645

 Description   

i downloaded odl from
wget wget https://jenkins.opendaylight.org/integration/job/integration-master-deploy-controller-latest-base-of13-test/ws/distributions-base-0.2.0-SNAPSHOT-osgipackage.zip
and unzipped
[root@pce-guest37 opendaylight]# cat version.properties
org.opendaylight.controller.version = 0.1
org.opendaylight.controller.build.scm.version = 4b867e8a0b3aefbbdd44a62ab62948c3c3df1f9b
org.opendaylight.controller.build.user = jenkins-controller
org.opendaylight.controller.build.workspace = **********
org.opendaylight.controller.build.timestamp = 1409159932863
org.opendaylight.controller.build.machine = **********
[root@pce-guest37 opendaylight]#

env details:
[root@pce-guest37 integ]# java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
[root@pce-guest37 integ]# uname -a
Linux pce-guest37.cisco.com 3.10.12-100.fc18.x86_64 #1 SMP Mon Sep 16 13:05:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@pce-guest37 integ]#

tests:
take source from this gerrit:
https://git.opendaylight.org/gerrit/#/c/10256 patch set 8

i run
pybot -v CONTROLLER:10.25.2.9 -v MININET:10.25.2.7 -v USER_HOME:$HOME -v MININET_USER:mininet ./csit/suites/base-of13/200__Flows_OF13_Stat_Manager/

With cto(cisco internal odl) image it is not happening. Tt did not happen even with integration job. But i can do it locally anytime.



 Comments   
Comment by Peter Gubka [ 28/Aug/14 ]

Attachment opendaylight.log has been added with description: log file

Comment by Timotej Kubas [ 03/Sep/14 ]

It is needed to increase PermGen size to at least 512mb. You can do it by environment variable or start run.sh script with parameter:

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

Generated at Wed Feb 07 20:31:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.