Skip to content

Commit

Permalink
reduce the risk for memory leaks (thanks to @EhsanMehdipour)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Mar 6, 2024
1 parent ed6079c commit cb9db8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ function reconstruct(Atype,data_all,fnames_rec;
)
end
end

# reduce the risk for memory leaks
GC.gc()
end

shuffle!(train)
Expand Down

2 comments on commit cb9db8c

@Alexander-Barth
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/103172

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.0.3 -m "<description of version>" cb9db8c66c5007b50d7f9defbcaf6f1d4db83db0
git push origin v2.0.3

Please sign in to comment.