From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: huge buffer Date: 18 Feb 2003 14:37:52 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 11 Message-ID: References: NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jacky Luk (luckie AT netvigator DOT com) wrote: : Are there any ways to allocate a 30000lines *81 characters in gcc? : conventional memory can't cope with that! Thanks Yes, "char *p = malloc( 30000*(81+(null_included?0:1)) );". (This has nothing to do with conventional memory.) Right, MartinS