Re: RFC: Make is a HUGE memory hog

2005-12-13 Thread Paolo Bonzini
GNU make 3.80 is a HUGE memory hog. It calls xstrdup to build dependency list. gnu-src-gcc.deps in libjava has 3000+ targets depend the same 3000+ files, whose filenames are more than 260K. For this dependency alone, make takes 3000*260K == 761MB. Then, you should make the 3000+ target depend

RFC: Make is a HUGE memory hog

2005-12-09 Thread H. J. Lu
On Sun, Dec 04, 2005 at 10:33:31PM +1030, Alan Modra wrote: > On Sun, Dec 04, 2005 at 11:45:21AM +, Andrew Haley wrote: > > Alan Modra writes: > > > On Sun, Dec 04, 2005 at 12:35:31AM +0100, Gerald Pfeifer wrote: > > > > spawns a recursive make (GNU make 3.80) that consumes some 450MB of > >