Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting Java AWS Lambda VM Parameters

Is there a way I can configure VM parameters on a Java AWS Lambda? I've already searched the AWS Lambda docs and blogs, and have found no way to configure the underlying system whatsoever.

like image 452
loonytune Avatar asked Oct 10 '17 14:10

loonytune


People also ask

Is Java good for AWS Lambda?

Java. Java has been in service for decades and is, to this day, a reliable option when choosing the backbone of your stack. With AWS Lambda is no different as it makes a strong candidate for your functions.


1 Answers

At least some JVM arguments can be passed via the JAVA_TOOL_OPTIONS environment variable. I've used this successfully to debug classpath loading issues with the "-verbose:class" flag for example.

like image 169
tgoodhart Avatar answered Sep 19 '22 12:09

tgoodhart