Monday, April 15, 2019

AWS Lamdba: Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: Metaspace

Execution of newly created Lambda gives below error

Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: Metaspace

Bydefault the Memory allocated to Lambda is 128MB this needs to be increased

Solution:









Navigate to your Lambda in AWS and update the Basic setting increase the Memory and test it out




4 comments:

rohini said...

Impressive!Thanks for the post.
Tablet unlocking service in chennai | tab service center in chennai | 100% genuine tablet parts | Tablet display replacement in chennai | Tablet Water damage service in chennai | 100% genuine tablet parts | Tablet Service center in chennai | Tablet unlocking service in chennai | Laptop display replacement service in chennai

mshilpa099 said...

Very interesting , good job and thanks for sharing such a good blog.
tamil news live youtube | election news 2019 | election news live | election news 2019 |politics speech tamil |NetCab

prestige elysian said...

Information provided by you is very helpful and informative. Keep On updating such information.

prestige elysian


Unknown said...

Buy your products online at low rates in Auckland Newzealand.We Provide you quality household items, outdoor furniture nz, gazeboz nz, items and all the items at low rates.