Open hkrutzer opened 4 weeks ago
Mh this is definitely an issue but yeah it could take a while to debug, I'll try to look into it.
@hkrutzer what's your error throughput that you are reporting to Sentry here? The issue with source maps will be fixed in master
soon, but 20MB can be quite high unless your throughput is high.
Not that high:
(I'm assuming errors includes warnings, if not it might be 2 to 3 times as much, which is still not that high I would say).
Environment
v10.6.2
Steps to Reproduce
This is memory usage with our base config:
In absolute terms it is not that much memory, but it can go up to around 20MB and often appears in our top 20 of processes using the most memory. Manually triggering a garbage collection on the process reduces it by a lot.
I enabled source maps, which took it up to this:
and eventually caused our application to be OOM-killed.
The source map file is not that big:
Loading it manually with
:erlang.binary_to_term
:I realise there are not many details in this issue but I'm not sure what to add. Please let me know what additional info you need.