summaryrefslogtreecommitdiffstats
path: root/src/main/scripts/VESrestfulCollector.sh
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2017-11-28 13:36:38 +0000
committervagrant <vv770d@att.com>2017-11-28 13:37:32 +0000
commitc4098a3af4794da9a1516760baa2318fb91ae258 (patch)
treecf42b53da99678e72fe71b66850c3ed7bad3eea8 /src/main/scripts/VESrestfulCollector.sh
parent8a7c0d6da77b78995d37f7e5f8f08f2c9886b086 (diff)
code syncup with ECOMP updates
Issue-ID: DCAEGEN2-212 Change-Id: Id388f26be57d2a12250a6845ed5678d0cebceed6 Signed-off-by: Vijay Venkatesh Kumar<vv770d@att.com>
Diffstat (limited to 'src/main/scripts/VESrestfulCollector.sh')
-rw-r--r--src/main/scripts/VESrestfulCollector.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scripts/VESrestfulCollector.sh b/src/main/scripts/VESrestfulCollector.sh
index fc6cd22f..45bdc6ef 100644
--- a/src/main/scripts/VESrestfulCollector.sh
+++ b/src/main/scripts/VESrestfulCollector.sh
@@ -46,7 +46,8 @@ collector_start() {
# for all the jars.
#cd /opt/app/VESCollector/
cd ${BASEDIR}
- nohup $JAVA -cp "etc${PATHSEP}lib/*" $JAVA_OPTS -Dhttps.protocols=TLSv1.1,TLSv1.2 $MAINCLASS $* &
+ #nohup $JAVA -cp "etc${PATHSEP}lib/*" $JAVA_OPTS -Dhttps.protocols=TLSv1.1,TLSv1.2 $MAINCLASS $* &
+ nohup $JAVA -cp "etc${PATHSEP}lib/*" -Xms256m -Xmx512m -XX:ErrorFile=/opt/app/VESCollector/logs/java_error%p.log -XX:+HeapDumpOnOutOfMemoryError -Dhttps.protocols=TLSv1.1,TLSv1.2 $MAINCLASS $* &
if [ $? -ne 0 ]; then
echo "VES Restful Collector has been started!!!" | tee -a ${BASEDIR}/logs/console.txt
fi