OgreBullet uses huge memory about 100 mb
Posted: Tue Jul 27, 2010 1:29 pm
Hey there!
I just set up the latest Bullet and OgreBullet for a project of mine and everything worked perfectly fine. But there is a BIG memory problem. Without OgreBullet my project allocates 30 mbs of memory without OgreBullet(no world creation or any other stuff, but the libraries/headers still included) and with OgreBullet(when it creates the world) it increases to 140 mb on release, 250 mb on debug. World creation code is :
I'm creating it right after I set up my framelisteners.
Despite its memory consumption, Bullet works just fine, and really fast, no problems over there, but 100 mb is really big.
And by the way, Bullet demos consume about 15 mbs of memory.
Thank you in advance!
I just set up the latest Bullet and OgreBullet for a project of mine and everything worked perfectly fine. But there is a BIG memory problem. Without OgreBullet my project allocates 30 mbs of memory without OgreBullet(no world creation or any other stuff, but the libraries/headers still included) and with OgreBullet(when it creates the world) it increases to 140 mb on release, 250 mb on debug. World creation code is :
Code: Select all
mWorld = new OgreBulletDynamics::DynamicsWorld(mSceneMgr, *bounds, Vector3(0,-9.81,0));
Despite its memory consumption, Bullet works just fine, and really fast, no problems over there, but 100 mb is really big.
And by the way, Bullet demos consume about 15 mbs of memory.
Thank you in advance!