🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Glenn Engel Sat, 17 Feb 1990 21:00
more info on gdb3.5 memory bloat
#845
Author: Glenn Engel
Date: Sat, 17 Feb 1990 21:00
15 lines
1013 bytes
Re: previous bug report about gdb using significantly more memory than
    gdb3.4.

After a debug session on gdb 3.5 I discovered that the problem appears
to be in the malloc.c provided with gdb.

When reading my executable's symbol table, malloc is called 841 times
to request 4088 bytes.  After every one of these 4088 byte malloc calls,
the data segment size goes up by 8192 bytes.  As a result, gdb uses
an extra 3.5 Megabytes of data space.  Linking in the system malloc.o
instead seems to fix the problem.  Looking back, I see that I used the
system malloc on gdb3.4 as well.

--
glenne@hplsla.hp.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads