OutOfVideoMemoryException

All about the core api and animation, input, sound, effect, collision and physics engines.
You can also post here your feature requests.

Moderator: Brume Dev Team

OutOfVideoMemoryException

Postby Mast10 on Thu Jun 12, 2008 12:46 pm

Sometimes when I start my game I receive a OutOfVideoMemoryException.
Any way to free your memory again?



Greetings

Matthijs
User avatar
Mast10
Brume Rookie
 
Posts: 16
Joined: Thu Apr 24, 2008 1:10 pm

Re: OutOfVideoMemoryException

Postby Silmaryls on Thu Jun 12, 2008 7:50 pm

See my answer here.
Reducing texture size may help.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Re: OutOfVideoMemoryException

Postby Mast10 on Fri Jun 13, 2008 12:27 pm

The weird thing is that the first few times it renders well but at a cerain time it just leaves the textures blank and gives 3d errors.
Is this a memory leak? And if it is is there a way to clear the video memory manualy?

Matthijs
User avatar
Mast10
Brume Rookie
 
Posts: 16
Joined: Thu Apr 24, 2008 1:10 pm

Re: OutOfVideoMemoryException

Postby Silmaryls on Fri Jun 13, 2008 3:22 pm

Well, I don't think it's a leak but you can try to profile your game with perfhud and see the video memory graph.
There is a method in DX to flush managed memory resources but I'm not sure it will help you much in this case. Try to reduce texture size.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Technical discussion

Who is online

Users browsing this forum: No registered users and 2 guests