ietf
[Top] [All Lists]

Re: Memory Problem

2003-03-14 07:06:12
On Fri, 14 Mar 2003 11:33:39 GMT, "Chandani, Chirag" 
<c10c(_at_)rediffmail(_dot_)com>  said:
I want to allocate about 600K of memory in a C Program where i 
load a .Bmp image but Malloc() doesnt allow allocation of more 
than 64 K
Is there some way out

1) Ask on an intro-to-C mailing list.

2) Learn to give relevant information - are you using some Microsoft software,
or are you compiling on a BSD 2.11 system on a PDP-11?  What error does malloc()
return?  What option(s) did you compile with? etc etc?

3) There's a better-than-even chance that you're compiling on some broken
system where you have to jump through hoops to get rational memory management.
If so, your only long-term real hope is to use software that actually works.
-- 
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech

Attachment: pgphc2fJpt99T.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>