This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
much larger memory consumption on sparc ?
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: much larger memory consumption on sparc ?
- From: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Date: Sat, 29 May 1999 02:41:14 +0200
While compiling Lynx on a sparc-openbsd system, process size limit got
exceeded in LYMainLoop.c.
I've investigated some more on another sparc system (solaris 2.6) and
pitted egcs-current against gcc 2.8.1.
Basically, egcs is using 24MB of memory where gcc was using only 12MB.
Memory consumption suddenly jumps up through the cse pass of the `mainloop'
function.
Is this normal ? namely, is there some buffer allocation strategy at work ?
I don't know enough about egcs memory handling to know for sure.
Otherwise, this might be a good clue to a largish memory leak...
source file NOT attached, as it is rather largish.
You can retrieve a preprocessed, trimmed version that exhibits that behavior
from
ftp://bonnie.liafa.jussieu.fr:/pub/espie/sparc-leak.i.gz
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'