Re: Problems with memory allocation
"ssepala" <[email protected]> Wed, 26 Oct 2005 10:35:38 -0000
| Newsgroups | gmane.comp.windows.ce.freeware |
|---|---|
| Message-ID | <[email protected]> |
Hi, Are you using 'new' to allocate memory or using malloc() to allocate memory ?? and wich version of WinCE are you using ?? Sadeepa --- In [email protected], "Vanessa" <vanessa@m...> wrote: > > Hi, > > I am having a weird problem. I have one pocket with 128 MB of memory. > Running my program (it occupies a lot of memory due to the size of the > database), but having still 29 MB memory free for applications, when trying > to allocate 2 MB it is giving error of out of memory. > > To test, I made another program, to only allocate memory. Leaving the > program above running, with this program I could allocate a block of up to > 21.5 MB. > > However I could not allocate 2 MB in the original application. Somebody has > some idea of what is the problem? > > Thanks in advance, > Vanessa V. Nihues > vanessa@m... > Microton Informática > > > > [Non-text portions of this message have been removed] > ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/W4wwlB/TM --------------------------------------------------------------------~->