[Bug corefiles/34555] gdb memory exhaustion on gdb.base/many-headers.exp
"ro at gcc dot gnu.org via Gdb-prs" <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34555
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
In hindsight, the cause of the difference is pretty obvious. The actual
mappings
are just 100 bytes. However, Solaris stores a whole page in the core file.
pagesize core size factor on-disk size
amd64 4096 425760020 103945 * ps 4933 kb
sparcv9 8192 834708857 101893 * ps 4176 kb
x86_64 4096 11530304 115303 * 100 2110 kb
The files themselves are sparse, so the difference doesn't matter for disk
space consumption.
However, gdb consuming (way more than?) 10 times the core size to read it
seems completely excessive.
--
You are receiving this mail because:
You are on the CC list for the bug.