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

Fixed memory leak in spectroscopy code #120

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

sofiemartins
Copy link

For each configuration that is analyzed, there are temporary fields allocated in init_propagator_eo(), but not all of them are freed, so after analyzing a certain amount of configuration, the system runs out of memory.

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 49.64%. Comparing base (8bf5685) to head (9e4bf49).
Report is 7 commits behind head on HiRep-CUDA.

Files with missing lines Patch % Lines
LibHR/Observables/calc_prop.c 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           HiRep-CUDA     #120   +/-   ##
===========================================
  Coverage       49.64%   49.64%           
===========================================
  Files             383      383           
  Lines           58981    58987    +6     
  Branches        11390    11392    +2     
===========================================
+ Hits            29283    29287    +4     
+ Misses          26846    26845    -1     
- Partials         2852     2855    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@claudiopica claudiopica merged commit 9d57370 into claudiopica:HiRep-CUDA Nov 12, 2024
64 checks passed
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