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

Add new method for extArg import to reduce memory consumption #313

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

anigamova
Copy link
Collaborator

When parsing large models where the extArg parameters are imported multiple times with RooWorkspace::import the process gets killed due to the large memory consumption.

This PR tries to avoid using this method if the pointer to the workspace is already created. Also this fix might not be relevant after with ROOT version>= 6.28 since it looks like the TFile is created with std::unique_ptr see here

@ajgilbert ajgilbert merged commit c69b108 into main Dec 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants