Skip to content

Commit

Permalink
chore: Update JVM size params to match docker-lambda (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-riddle authored and jfuss committed Aug 14, 2018
1 parent a33376e commit f8678e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samcli/local/docker/lambda_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ def _get_entry_point(runtime, debug_options=None):
+ debug_args_list \
+ [
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,quiet=y,address=" + str(debug_port),
"-XX:MaxHeapSize=1336935k",
"-XX:MaxMetaspaceSize=157286k",
"-XX:ReservedCodeCacheSize=78643k",
"-XX:MaxHeapSize=2834432k",
"-XX:MaxMetaspaceSize=163840k",
"-XX:ReservedCodeCacheSize=81920k",
"-XX:+UseSerialGC",
# "-Xshare:on", doesn't work in conjunction with the debug options
"-XX:-TieredCompilation",
Expand Down

0 comments on commit f8678e8

Please sign in to comment.