Bug 698 - Confingured controller script to set max memory to 1 GB if not defined 80/5980/3
authordbavery <devin.avery@brocade.com>
Tue, 8 Apr 2014 18:45:14 +0000 (14:45 -0400)
committerTony Tkacik <ttkacik@cisco.com>
Wed, 9 Apr 2014 11:24:05 +0000 (11:24 +0000)
commit85b79a357526f0f379aeb02df859c65acb1d8446
tree73296b69b86d8e0cbb9ac758a9597ba427b18d82
parentef6bd770f1366f84fdbc7ab19fa649953b36197b
Bug 698 - Confingured controller script to set max memory to 1 GB if not defined

Modified the run.sh and run.bat scripts to configure the java max memory to be
 1 GB if it is not defined on the command line.

NOTE: Java generally sets the memory to be 1/4th the total memory of your system
so it is possible that this will result in LESS memory being allocate (change of
behavior). Once this work item is committed we should encourage a best practice
of defining max memory.

A message will be printed out notifying the users that the max memory was not
specified.

Change-Id: I39225f28c4aed3636a1db0cdb41fbe802f5b5b54
Signed-off-by: dbavery <devin.avery@brocade.com>
opendaylight/distribution/opendaylight/src/main/resources/run.bat
opendaylight/distribution/opendaylight/src/main/resources/run.sh