Increased memory usage on the Amazon Corretto runtime
danotorrey opened this issue · 3 comments
As originally mentioned in #20 (comment) by @justinjett, when running the graylog-s3-lambda
function with the newer java8.al2/amazon-corretto-8
runtime, the function appears to use more memory than before with the java8
runtime. In order for an existing function to work with the Corretto runtime, it was necessary to increase the memory allocated to the function.
Why does switching from
java8
tojava8.al2
cause the function to use more resources?
@justinjett Great question. Perhaps we can perform some memory profiling to compare the memory utilization in both runtimes to investigate it further.
@justinjett in your case, how much memory was allocated to your function before the update to Corretto?
@danotorrey 256 MB were allocated before updating to Corretto.