You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LambdaAsyncClient consumes a lot of JVM Memory and leads to an OutOfMemory Error.
Anybody a Idea, why this happens?
Expected Behavior
The LambdaAsyncClient should consume less JVM Memory.
Current Behavior
When we make requests with the Lambda Async Client, the JVM heap immediately jumps to more than 90 percent and stops at this level or the application terminates:
Terminating due to java.lang.OutOfMemoryError: Java heap space
We are using this configuration for the LambdaAsyncClient:
Afer executing about 200 Requests the heap increases expcetionally, after that decreases, but increases in a slow way.
Reproduction Steps
I was not able to reproduce this locally.
Our application processes a queue with 100 workers. A lambda request is made at least once with every job that is processed by the queue.
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.25.34
JDK version used
jdk-17.0.9+9
Operating System and version
Linux/ARM64
The text was updated successfully, but these errors were encountered:
Describe the bug
The LambdaAsyncClient consumes a lot of JVM Memory and leads to an OutOfMemory Error.
Anybody a Idea, why this happens?
Expected Behavior
The LambdaAsyncClient should consume less JVM Memory.
Current Behavior
When we make requests with the Lambda Async Client, the JVM heap immediately jumps to more than 90 percent and stops at this level or the application terminates:
Terminating due to java.lang.OutOfMemoryError: Java heap space
We are using this configuration for the LambdaAsyncClient:
The Invoke Request looks like this:
Afer executing about 200 Requests the heap increases expcetionally, after that decreases, but increases in a slow way.
Reproduction Steps
I was not able to reproduce this locally.
Our application processes a queue with 100 workers. A lambda request is made at least once with every job that is processed by the queue.
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.25.34
JDK version used
jdk-17.0.9+9
Operating System and version
Linux/ARM64
The text was updated successfully, but these errors were encountered: