[CONTROLLER-829] Clustering : Datastore causes Out Of Memory Created: 12/Sep/14  Updated: 15/Sep/14  Resolved: 15/Sep/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Moiz Raja
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Attachments: File flow_config_perf.py    
External issue ID: 1853

 Description   

To reproduce,

1. Build the OpenFlowPlugin Karaf distribution
2. Run the controller with the following options
JAVA_MAX_MEM=4G JAVA_MAX_PERM_MEM=512m ./karaf
3. Install the odl-mdsal-clustering feature, also install jolokia
4. Run the attached script with the following options
/usr/local/bin/python flow_config_perf.py --nflows 500 --nthreads=5 --ncycles 60

At around 125,000 Transactions the controller will run out of memory



 Comments   
Comment by Moiz Raja [ 12/Sep/14 ]

Attachment flow_config_perf.py has been added with description: flow_config_perf.py

Comment by Moiz Raja [ 15/Sep/14 ]

The main reason for the OOM in this case was that snapshotting was done only once.

https://git.opendaylight.org/gerrit/#/c/11140/

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