Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
[Issue #292] Increase memory limit
Browse files Browse the repository at this point in the history
Set new higher memory limit (1.2GB) for the jvm in the container.

Change-Id: I048391b2d53510c28a6d6597d5c77b03385d153f
Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/54008
Reviewed-by: Antonio Filipov <[email protected]>
Bellevue-Verified: e_vcoauto_glob_1 <[email protected]>
Closures-Verified: e_vcoauto_glob_1 <[email protected]>
CS-Verified: e_vcoauto_glob_1 <[email protected]>
PG-Verified: e_vcoauto_glob_1 <[email protected]>
Upgrade-Verified: e_vcoauto_glob_1 <[email protected]>
  • Loading branch information
lazarin committed Jan 9, 2019
1 parent 942b2ea commit 22e6864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

if [ "x" = "x$MEMORY_OPTS" ]
then
MEMORY_OPTS="-Xmx768M -Xms768M -Xss256K -Xmn256M -XX:MaxMetaspaceSize=256m"
MEMORY_OPTS="-Xmx1280M -Xms1280M -Xss256K -Xmn256M -XX:MaxMetaspaceSize=256m"
fi

CONFIG_FILES="$DIST_CONFIG_FILE_PATH"
Expand Down

2 comments on commit 22e6864

@renmaosheng
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we know whether this is memory leak causing the problem?

@lazarin
Copy link
Contributor Author

@lazarin lazarin commented on 22e6864 Jan 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'OutOfMemoryError: GC overhead limit exceeded' happens when GC spends a lot of time (98%) without freeing resources (less than 2%). That could be, or not due to a leak, it is not a strong identifier.

Please sign in to comment.