https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97718
Bug ID: 97718
Summary: [11 regression] Excessive GDB memory usage after GCC
"Save some memory at debug stream-in time"
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
CC: rguenth at gcc dot gnu.org
Target Milestone: ---
As of commit r11-4664-g104ca9cfa60aa1d5dd6666d3574bed012d394e8c "Save some
memory at debug stream-in time", I notice excessive GDB memory usage for
certain testcases, for example:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26165 tschwing 20 0 6514108 6.087g 5752 R 99.1 39.0 1:07.45 gdb -nx
-nw -quiet -batch -x pr54519-4.gdb ./pr54519-4.exe
(Growing much bigger, rendering the GCC testsuite unusable due to thrashing,
timeouts.)
This is on an up-to-date Ubuntu 14.04 x86_64 GNU/Linux system using:
- GNU assembler (GNU Binutils for Ubuntu) 2.24
- GNU ld (GNU Binutils for Ubuntu) 2.24
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1