Mail Archives: djgpp/1998/09/08/20:31:43
SuSaNNa wrote:
> My program uses about 60Mb of graphic data and i have only 16Mb of ram
> and i don't have free
> hard disk space, i load graphics in blocks of 10Mb maximum, a block of
> graphics for
> every stage of my game, and when i load and free repeatly, the memory
> manager crash. Why?.
> You saidme that when i free a malloc, dpmi can reuse the space by
> another malloc, but if i load the
> blocks in a maximum of 10Mb and i have 16Mb, ¿why the system crash?.
>
You can always allocate 10mb of memory in the beginning of
the game and then reuse it yourselve.
(If your bitmaps era the same size, you can reuse them I guess)
HTH
Ludvig Larsson
> please helpme.
>
> Thanks for readme. sorry for my bad english, and sorry if i'm asking for
> an obvious answer.
- Raw text -