Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / "severe exception" again

Author
Message
IFI_ManiA
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Germany
Posted: 7th Oct 2004 17:53
Hi folks,

Do you know, how to fix errors like the "severe exception in line ..."?
in this line I change the resolution in a game.
First time i run the menu and change the res to start the game, new display mode, no problem. Changing the Res back to enter the menu,new res, no Problem again, but when I want to start the game again there comes the severe exception. But Why ???

I unloaded every media


and undimmed every array, no use of Mipmap, closed every File.... This are the tips I read in other threats about this problem. But nothing helped.
Do you know, what can be the reason for this Error. Or is this a bug this a bug that will never be fixed???

thx
Ifi

E = mc³ -think about!
Xander
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 8th Oct 2004 01:14
flush video memory

It might help...someone told me that severe exceptions are problems with the memory...

Xander Moser - Bolt Software - Firewall
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 10th Oct 2004 23:30
Sever Exeption usually seem to occur either when you overload the Video Memory, or I think if you overload the stack in DBC... Don't hold me to that though, as I am just pulling on old hear-say

The best way to stop that from happening, is to unload everying ( do as Xander said too ) that isn't needed at all times, and also don't use massive Textures... only use 256x256 MAX for objects that aren't close to the camera, and if you want to save even more memory, when you load the texture image in, use the ,1 flag at the end of the Load Image command, so that it doesn't add mipmaps

To fix it in-game, just end all un-needed processes on your PC, and it should free up some memory

Jess.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!

Login to post a reply

Server time is: 2025-05-24 17:52:14
Your offset time is: 2025-05-24 17:52:14