I'm even further behind than Andreas, but I'm curious about the situation here. It's been a while, but last time I checked, compiling the x86 decoder with gcc took about 1GB of RAM (definitely <1.5GB). If something has happened to the code and/or gcc that really makes it take much more than that, I'm very interested in knowing.
In my experience, running in limited-memory situations because I'm compiling in a VM on my laptop, something like 2-3GB of physical memory is plenty if you're running scons with "-j 2" (or not using -j at all). If you're running into problems with 4GB of RAM, make sure you're not using a -j argument larger than 2, and that you don't have any other large memory-consuming processes running. Steve On Thu, Jan 3, 2013 at 3:19 AM, Andreas Hansson <[email protected]>wrote: > A bit late for this topic perhaps, but my observation is that clang uses > far less (~30%) RAM than gcc when building gem5, so it might be worth a > shot if you're running with 4 GB. > > Andreas > > From: "[email protected]<mailto:[email protected]>" < > [email protected]<mailto:[email protected]>> > Reply-To: gem5 users mailing list <[email protected]<mailto: > [email protected]>> > Date: Friday, 28 December 2012 19:38 > To: gem5 users mailing list <[email protected]<mailto: > [email protected]>> > Subject: Re: [gem5-users] Gem5 compiling error > > I put 4 GB RAM and 8 GB for SWAP memory. Just add a 7 GB to your swap > memory ( as a file) and it should be fine. > > > Good luck, > Parnian > ________________________________ > From: [email protected]<mailto:[email protected]> [ > [email protected]<mailto:[email protected]>] on > behalf of ali bagherian [[email protected]<mailto:[email protected]>] > Sent: Friday, December 28, 2012 1:08 PM > To: [email protected]<mailto:[email protected]>; gem5 users mailing list > Subject: Re: [gem5-users] Gem5 compiling error > > Hi again, Thanks for your help, > > My machine has 4 GB memory. How much more I need ? > > Thanks, > Ali > > On Fri, Dec 28, 2012 at 8:43 AM, Eliot Moss <[email protected]<mailto: > [email protected]>> wrote: > On 12/28/2012 10:00 AM, Hossein Nikoonia wrote: > Or you can use more swap! > > ... and wait for days while paging. Truly, I found it > much easier to build on a machine with adequate RAM for > the task ... Eliot Moss > > _______________________________________________ > gem5-users mailing list > [email protected]<mailto:[email protected]> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
