This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

much larger memory consumption on sparc ?


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'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]