Page 1 of 1

CEGUI memory usage

Posted: Thu Jan 27, 2005 11:08
by Injector
First things first: This GUI system rocks *hard*!

I am a little bit concerned about memory usage though. In my app, creating a StaticText element chews up ~1MB :shock:
If I initialize the system with 5 fonts defined within the gui scheme file, memory usage goes from ~16MB before GUI initialization to ~45MB :shock: . Using a single font brings the usage down to 22MB.

All numbers are taken from Release builds, I am using version 0.1.1. of lib.

Is that [normal|to be expected|to be worked on|gone unnoticed]?

Injector

Re: CEGUI memory usage

Posted: Fri Jan 28, 2005 09:39
by CrazyEddie
I guess in all honesty it would be 'gone unnoticed'.

The large amount of memory used by a font could be related to the size of the texture that gets created; which has the potential to be huge.

Memory consumption is something that may be addressed around the same time as I start other tuning and optimisation work, which will almost certainly not be for quite a while. As of this time, it's something I've not looked at :oops:

CE.