Description
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- I've gone though Developer Guide and API reference
- I've checked AWS Forums and StackOverflow for answers
- I've searched for previous similar issues and didn't find any solution
Describe the bug
Too much memory used for typescript compilation. Duplicate of #2846.
Bringing this up again since I think it is a serious enough problem that we can't compile even the hello world of the SDK in a EC2 linux t3.micro machine. Running it with --max-old-space-size=4096 and 1 GB swap works, but I don't think it should take so much memory to compile just this small program.
Is the issue in the browser/Node.js?
Node.js
If on Node.js, are you running this on AWS Lambda?
No
Details of the browser/Node.js version
v12.13.0
SDK version number
Example: 2.597.0
To Reproduce (observed behavior)
Just trying to compile this one line TS file results in a out of memory error on a t3.micro AWS instance with nothing else running on it!
import CloudFront from "aws-sdk/clients/cloudfront";
Expected behavior
I wanted the program to compile
Screenshots
Additional context