CEGUI memory usage

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Injector
Just popping in
Just popping in
Posts: 18
Joined: Wed Jan 12, 2005 12:06

CEGUI memory usage

Postby Injector » Thu Jan 27, 2005 11:08

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: CEGUI memory usage

Postby CrazyEddie » Fri Jan 28, 2005 09:39

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.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 6 guests