Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible memory leak on TRestRun #519

Open
lobis opened this issue May 7, 2024 · 0 comments
Open

Possible memory leak on TRestRun #519

lobis opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@lobis
Copy link
Member

lobis commented May 7, 2024

I noticed the macro to merge Geant4 simulations (https://github.com/rest-for-physics/geant4lib/blob/master/macros/REST_Geant4_MergeRestG4Files.C) is failing for large merges (50 events per file, 2000 files).

If you watch the memory usage it grows uncontrollably.

When looking at the macro it's very simple so I don't think the problem is the macro itself, but how TRestRun or some other class manages memory.

This is currently causing problems in our workflow where we merge large amounts of smaller files, but I can imagine it may also be problematic in other areas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants