-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High Memory usage - "not enough Memory" in jsii-Runtime #486
Comments
Thanks for opening this issue. A few questions to get a better understanding:
|
Possibly relevant: aws/jsii#745 |
Thanks for your quick answer!
The error occurred when airflow wants to load the DAG, the stack trace shows it's when loading the |
This might help, I'd assume that the
Hm, not sure if that's during |
we're already performing the |
👍
Hm, that sounds not too bad.
Don't know much about Airflow, but does this mean that it actually reran unintentionally? |
I generated the AWS provider via cdktf get and stripped down the huge python file to only the classes I needed for my stack. |
hm, that's interesting. Seems like this could potentially benefit from aws/jsii#2436 Related to #504 |
I'm also seeing cdktf (Python) using huge amounts of memory in a Dockerised AWS Lambda function, I've only managed to get it running by giving the Lambda 1GB so far, which seems unnecessary given vanilla Terraform works just fine with the defaults. |
Which Docker image are you using and do you know what the default Lambda settings are? |
Almost a year since last action, closing this for now 👍 |
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
cdktf & Language Versions
ckdtf 0.0.19
python
Description
We are using terraform to provision EMR clusters on AWS from Airflow. Since we are using cdktf in python our Airflow workers are using significantly more memory up until failure with the message that the jsii-Runtime has "not enough memory".
We are generating the Terraform-Json using cdktf and then deploy using the terraform cli.
Since the same terraform commands are run with the same infrastructure, this seems to be connected to cdktf or the jsii runtime.
The text was updated successfully, but these errors were encountered: