Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use explicit memory settings for Java cookie cutters #1158

Closed
mikebroberts opened this issue Apr 29, 2019 · 2 comments
Closed

Use explicit memory settings for Java cookie cutters #1158

mikebroberts opened this issue Apr 29, 2019 · 2 comments
Labels
area/init sam init contributors/good-first-issue Good first issue for a contributor

Comments

@mikebroberts
Copy link

Hi all - I just used "java" cookie cutter today and noticed that it had a very long cold start (14 seconds.) After a quick bit of investigation I realized it was using the default MemorySize of 128MB, which is barely sufficient for JVM Lambdas. I recommend setting this explicitly, e.g. to 512 or 1024 for the Java and Gradle cookie cutters.

@53ningen
Copy link
Contributor

This issue was probably resolved by #1340.
Released in v0.21.0.
https://github.com/awslabs/aws-sam-cli/releases

@c2tarun
Copy link
Contributor

c2tarun commented Nov 22, 2019

Resolving this issue as the PR is merged and I confirmed that on creating new sam cli project default memory allocated is 512 MB.

@c2tarun c2tarun closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/init sam init contributors/good-first-issue Good first issue for a contributor
Projects
None yet
Development

No branches or pull requests

4 participants