Skip to content

Possible memory leak on TRestRun #519

@lobis

Description

@lobis

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions