From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c1aec016742c3aa4 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-12-19 20:59:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail From: "Nico Kadel-Garcia" Newsgroups: comp.unix.tru64 References: <%I9M9.46294$_S2.34530@nwrddc01.gnilink.net> Subject: Re: Malloc limitations under 5.1a X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Fri, 20 Dec 2002 04:59:02 GMT NNTP-Posting-Host: 151.203.22.73 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1040360342 151.203.22.73 (Thu, 19 Dec 2002 23:59:02 EST) NNTP-Posting-Date: Thu, 19 Dec 2002 23:59:02 EST Xref: archiver1.google.com comp.unix.tru64:9301 Chris Adams wrote: > Once upon a time, Nico Kadel-Garcia said: >> I've got some users growsing that gcc-3.04 will not allow them to >> malloc more than 1 Gig of RAM, while the built-in compiler will. >> They prefer gcc for portability reasons, but this malloc allegedly >> fails *silently*: is anyone else familiar with this limitation or >> any ways to address it gracefully? > > Hey, if they are writing "portable" code, it should compile with the > native compiler (otherwise, they are writing gcc-specific code!). > > That probably doesn't help you much though. I have not run into such > a limitation with gcc, but I don't think I've had anything malloc 1G. It's for Matlab use: the Tru64 system has > 4Gig of RAM for precisely this sort of issue. But as RAM prices drop and Linux and other kernels get smarter, it would be useful to run some of the code elsewhere.