|
On an AWS lambda with 10gb of memory, I'm hitting the NodeJS heap limit trying to stream a 7mb file and output a 3.5mb file. Running some garbage collection logs on my unit tests, but can't see anything unusual to indicate a memory leak. Even removing the streams and just loading data (smaller local files) into memory seems to make little difference. Any advice on how to find where this is going wrong?
|
# ¿ Aug 22, 2023 14:25 |
|
|
# ¿ May 10, 2024 04:15 |
|
Losing my mind trying to understand a bit of syntax. My actual goal is turning it from an arrow function to a regular function declaration. Technically using Typescript and the aws-embedded-metrics library if that gives any extra context. code:
code:
|
# ¿ Jan 23, 2024 12:16 |
|
Unless I'm misunderstanding even more , we all seem to be forgetting the metricScope() func from the library, and the fact I'm not explicitly defining the 'metrics' value above any of the code? To reference their docs: TypeScript code:
|
# ¿ Jan 23, 2024 15:22 |