Java memory profiling in AWS Lambda
Asked Answered
R

2

12

Is it possible to profile memory usage of java projects in AWS Lambda with classes or packages of all objects on the heap?

Heap memory profiling: heap memory profiling

Rosamondrosamund answered 16/6, 2017 at 13:38 Comment(0)
J
2

Since August 2017, AWS has provided SAM local which allows lambda functions to be run locally.

https://docs.aws.amazon.com/lambda/latest/dg/sam-cli-requirements.html

The AWS SAM CLI is a command line tool that operates on an AWS SAM template and application code. With the AWS SAM CLI, you can invoke Lambda functions locally, create a deployment package for your serverless application, deploy your serverless application to the AWS Cloud, and so on.

Juniejunieta answered 8/11, 2017 at 14:23 Comment(0)
N
0

You need docker - to start your lambda locally. If you are in admin / docker group you can connect to the process with your profiler.

Nationalize answered 3/11, 2017 at 17:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.