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

ObjectSpace.dump_all: Add an option to not dump string content #10382

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

casperisfine
Copy link
Contributor

ObjectSpace.dump_all is a very useful method to debug memory leaks and such, hence is frequently needed in production. But since all the 7bit strings content is included in the dump, it inccur the risk of leaking personal or secret data.

In many case the strings content isn't that helpful and is just making the dump much bigger for no good reason.

cc @zzak

`ObjectSpace.dump_all` is a very useful method to debug memory leaks
and such, hence is frequently needed in production. But since all the
7bit strings content is included in the dump, it inccur the risk of
leaking personal or secret data.

In many case the strings content isn't that helpful and is just making
the dump much bigger for no good reason.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants