Game Development Community

Excessive texture memory usage

by Rick Case · in Torque Game Builder · 09/30/2009 (9:55 pm) · 0 replies

My imagemap data is not much more than 2mb on disk, but my game chews up 315mb of mem (Windows).
After modifying
TextureObject* TextureManager::registerTexture(const char* textureName, const GBitmap* data, bool clampToEdge)
as mentioned in www.garagegames.com/community/blogs/view/12968 the mem usage went down to 50mb.
But the problem is now that the editor crashes on me when running after saving the level.

Bottom line: Is there a neat solution for getting my memory back?