AlbertoPdRF / root-file-viewer

View ROOT files directly in VS Code!
https://marketplace.visualstudio.com/items?itemName=albertopdrf.root-file-viewer
MIT License
49 stars 5 forks source link

node.js Memory leak #15

Open lukavom opened 2 years ago

lukavom commented 2 years ago

Hello Alberto, the plugin has been very convenient for me, so thank you for providing it! Unfortunately it has caused some issues in my group. Whenever I try to view a large root file, a node.js process is started that completely eats up RAM and swap on our machines, causing large problems. The issue is reproducible by simply trying to view a file of about 20Gb. A few months ago viewing the same file worked without issue. Do you have any Idea what can cause this? Any help is appreciated. Best regards, Luka

AlbertoPdRF commented 2 years ago

Hi @lukavom!

I can indeed reproduce the issue. I'm adding @linev to the conversation because JSROOT is doing all the work here. Maybe this is related to #10?

linev commented 2 years ago

Access to large ROOT files should be solved with https://github.com/AlbertoPdRF/root-file-viewer/pull/20