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 clearing output references with %reset out #14133

Merged
merged 2 commits into from Aug 28, 2023

Conversation

krassowski
Copy link
Member

This should fix #14129. Namely the second reference to the output is stored in user_ns_hidden. That was already cleared during hard %reset but was not cleared when using %reset out. Manual gc.collect() is still required.

@Carreau Carreau added this to the 8.15 milestone Aug 28, 2023
@Carreau Carreau merged commit 7f4fe75 into ipython:main Aug 28, 2023
20 checks passed
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.

%reset -f out does not free memory used by output history
2 participants