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

Debug #1946 #2007

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Debug #1946 #2007

wants to merge 7 commits into from

Conversation

sjaeckel
Copy link
Member

This is a starting point while debugging #1946.

The memory usage on current develop has increased significantly since 0.14.0.

The main memory saving was done by reverting d7e46d6 which is not in 0.14.0.

I did not yet conclude on what the real problem is, but my guess is that the memory growth can only be tackled by rewriting some internal parts and we're not really leaking memory. AFAICT most memory is accounted for and is free'd on program termination.

NB: The valgrind output of a default build, executed with "our default valgrind settings" is kind of misleading. Each time a gnupg API is invoked it forks which causes the valgrind output to blow up and be hard to analyze. One way to improve the debug experience would be to disable following forks when running valgrind, another is to disable gnupg.

I've extended our default prof.supp by quite a bit, which must still be reviewed whether those excludes should be there or not.

This seems to be some kind of standard script name for bootstrapping
autotools.

Signed-off-by: Steffen Jaeckel <[email protected]>
They're only used in `window.c`.

Signed-off-by: Steffen Jaeckel <[email protected]>
This creates a "as personal as possible" Valgrind suppressions file.

Signed-off-by: Steffen Jaeckel <[email protected]>
Add all elements to an array, in order to easily be able to run operations
in bulk.

Signed-off-by: Steffen Jaeckel <[email protected]>
`Py_Initialize()` does it since 3.7, it's a noop and deprecated since 3.9.

https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads

Signed-off-by: Steffen Jaeckel <[email protected]>
@jubalh jubalh added this to the next milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants