You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
I then take another heap snapshot after every wrk run and compare the results. Without going into too much detail, there is an increase of about 5Mb between the baseline and second heap sizes. This is to be expected as templates get cached. Then comparing the second to the third, fourth heap snaphosts shows an increase of about 0.2 to 0.4Mb each time. Could this be an indication of the leak?
I tried both swig and swig-templates and found the same behaviour.
I am not an expert in swig or node internals, this might be normal.
However my conclusion right now is that there is a memory leak in the way swig / swig-templates . Hopefully the detail above can help you replicate. To be fair, I have not managed to replicate the memory leak error in my dev system.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I recently got an error like this in production:
I run node 6.x LTS with the defaults, no extra memory given to V8.
The mention of swig made me suspect something in swig is not releasing memory properly. What do you think?
The text was updated successfully, but these errors were encountered: