After loading bmp image of size 640x3072 by calling:
s_image->LoadImage(IDR_IMAGE),
application takes 9Mb RAM memory. Is that normal?
I mean 640*3072/1024/1024 == 1,86Mb. Have I missed something?
MemorySquirrel wrote:After loading bmp image of size 640x3072 by calling:
s_image->LoadImage(IDR_IMAGE),
application takes 9Mb RAM memory. Is that normal?
I mean 640*3072/1024/1024 == 1,86Mb. Have I missed something?
Anonymous wrote:Thanks for explanation, I was afraid it's some kind of bug. Is there any way to combat that problem? 3-4 images of this size make game imposible to run since they require too much memory.
BIGBEN wrote:I hope you won't load this big surface at once in your game.
Squirrel wrote:On PPC result is even worst (more memory). Since I use 256 color pallete, editing Surface class could help.
Release 0.7.6c
==============
All platforms:
- Fixed memory allocation issue with surfaces (too much memory was consumed).