deno test --coverage
uses a lot of RAM
#19925
Labels
needs investigation
requires further investigation before determining if it is an issue or not
testing
related to deno test and coverage
Hello y'all.
I've been lately noticing some weird "Container 'Build' exceeded memory limit" errors in one of the (Bitbucket) pipelines that I've configured for my Deno app. This basically means that the process I'm executing is using too much RAM (the pipeline is configured with 8GBs of RAM).
What the pipeline does is execute the unit tests with the coverage enabled, and took me a while to notice that the issue is that as soon as the pipeline executes the main command Deno starts using A LOT of memory. I never noticed this issue when running the test+coverage in my personal computer as it has 32GBs of RAM.
I can understand that running the tests with coverage enabled is obviously going to use more memory, but I didn't expect it to be that much. Here are some details:
My question is: Is this memory usage expected? Is there a way I can lower it?
The text was updated successfully, but these errors were encountered: