Apport-retrace uses over a gigabyte of RAM for ~20Mb core dumps

Bug #1086106 reported by Sergey "Shnatsel" Davidoff
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Apport
New
Undecided
Unassigned

Bug Description

Apport-retrace process uses over a gigabyte of memory for retracing a bug with ~20Mb compressed core dump. I'm not sure if it's a bug (memory leak?), but it does make my system swap to disk, which completely blocks any other tasks.

I've experienced it on bugs in https://launchpad.net/geary and https://launchpad.net/midori; example bugs that cause this behavior are bug 1086007 and bug 1085962. Unfortunately I can't make them public, but I can subscribe people to them. I'll keep my eyes open for such bugs without private info.

I use a trunk checkout at revision 2537. The exact apport-retrace invocation I use is this:

PYTHONPATH=. bin/apport-retrace --stdout --auth=~/.cache/apport/launchpad.credentials --sandbox=/home/serioga/Code/apport-retrace-sandbox/ <bug-number-here>

The sandbox in use can be viewed at lp:~elementary-os/elementaryos/apport-retrace-sandbox

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

For bug 1085962 when using cache apport-retrace process goes up to 1,5Gb before the distro release folder is created in the cache directory. It uses at about 800Mb of memory while downloading packages.

Revision history for this message
Daniel Kessel (dkessel) wrote :

I also had apport need more than 2 GB for a crash file of 10 MB

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.