Thursday 18 May 2017

Javascript clean up unused references

I would like to know what methods are out there to figure out if my nodejs application keeps garbage in some hidden ways that may cause memory leaks in my application. I store list of objects in an array that i may reference at multiple locations in the code and i would like to be safe that everything is cleaned up overtime and i do not queue up these hundreds of instances somewhere that may cause a great memory consumption or spikes in one moment and freeze the server for seconds until the garbage collector finishes doing its job.



via Azarus

No comments:

Post a Comment