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

fix memory leak #44

Conversation

psychocoderHPC
Copy link
Member

It is possible that linked chunks will not be deleted in case we insert more than one chunk during the detection that the current memory is full.

…sh()` by decrementing its item count after each insertion of a new chunk
@psychocoderHPC psychocoderHPC merged commit 7f2c3e4 into ComputationalRadiationPhysics:dev Dec 8, 2023
1 check passed
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 11, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
@psychocoderHPC psychocoderHPC mentioned this pull request Dec 11, 2023
3 tasks
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 11, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 11, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 11, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 11, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 12, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than
one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduces a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 12, 2023
…l/topic-chunkedlist-delete

fix memory leak
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 12, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduced a double free issue.
psychocoderHPC added a commit to psychocoderHPC/redGrapes that referenced this pull request Dec 12, 2023
With ComputationalRadiationPhysics#44 we tried to fix the memory leak which can happen if more than one thread is allocating a new chunk.
The PR ComputationalRadiationPhysics#44 was not fixing the issue and introduced a double free issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants