|
From: Ralph E. <ral...@gm...> - 2014-12-25 01:03:04
|
If you use a 32 bit compiler it does not matter, they are by design unable to access memory above 2GB unless you use Wl,--large--address-aware but it would still be limited to about 4GB regardless. but try the large address aware flag in LDFLAGS it sometimes helps. And merry christmas. Den 25-12-2014 kl. 01:48 skrev マーズ ho han keng: > Hello all, > Merry Christmas and Happy New Year. > Memory issues are being addressed in the latest C++14 > standard as in https://gcc.gnu.org/projects/cxx1y.html > > Eli Zaretskii wrote: > >>> From: Edward Diener > <eld...@tr...> >>> Date: Wed, 24 Dec 2014 02:40:42 -0500 >>> >>> I am seeing an out of memory message of: >>> >>> "cc1plus.exe: out of memory allocating 65536 bytes" >>> >>> when compiling code using mingw and gcc-4.8.1-4. >> Can you look in the Task Manager or some other similar tool > what is >> cc1plus's memory footprint at that point, or just before > that? >>> Or might this just be a problem in Windows with the mingw >>> implementation of gcc ? >> Unlikely. There's no such thing as "the MinGW > implementation" of GCC, >> it's just a Windows compile of the stock GCC code. >> >>> I am compiling under Windows 7 Ultimate with 8 GB of real > memory, so I >>> do not think this has anything to do with my hardware > itself. >> Note that a 32-bit compiler is still limited to 2GB, even > on a 64-bit >> OS. >> >> > ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming! The Go > Parallel Website, >> sponsored by Intel and developed in partnership with > Slashdot Media, is your >> hub for all things parallel software development, from > weekly thought >> leadership blogs to news, videos, case studies, tutorials > and more. Take a >> look and join the conversation now. > http://goparallel.sourceforge.net >> _______________________________________________ >> MinGW-users mailing list >> MinGW- > us...@li... >> This list observes the Etiquette found at >> http://www.mingw.org/Mailing_Lists. >> We ask that you be polite and do the same. Disregard for > the list etiquette >> may cause your account to be moderated. >> >> _______________________________________________ >> You may change your MinGW Account Options or unsubscribe > at: >> https://lists.sourceforge.net/lists/listinfo/mingw-users >> Also: >> mailto:mingw-users- > re...@li...?subject=unsubscribe > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe |