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 / Memory Problem

Author
Message
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 2nd Mar 2003 11:48
Sometimes when I run the DB editor or the DarkEdit editor, my computer's memory seems to be entirely used up, so I can only have a few other things open. This is quite annoying since I sometimes need to do graphics for my program or browse the internet for something, or just do something else. Also the memory seems to still be taken up when I close the editor and only comes back when I re-start the computer.

Is there a reason for this and is there a patch (Ive got 1.3 for the DB editor, but my dark-edit is v1.56) that could fix it?

Thanks
Yum! Yum! Yum! Yum!
Electron
22
Years of Service
User Offline
Joined: 28th Feb 2003
Location: United Kingdom
Posted: 2nd Mar 2003 11:54
would you post your PC specs please, so we can get a better idea, thanks

If you don't work for it, how do you expect to get it?
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 2nd Mar 2003 12:11
600Mhz
256MB RAM
No Graphics Card
DX 8.1 (does that do anything without a graphics card?)

and it also does it on my other pc...

800Mhz
90MB RAM (I know, a bit of a mixture)
ATI Rage 2
DX 8.1

Please say if you need anything else, Im not an expert in computer science.

Yum! Yum! Yum! Yum!
Electron
22
Years of Service
User Offline
Joined: 28th Feb 2003
Location: United Kingdom
Posted: 2nd Mar 2003 12:20
Does this happen ALL the time?

If you don't work for it, how do you expect to get it?
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 2nd Mar 2003 12:55
It appears to happen every time on a minor scale but sometime the memory is drastcally lowered (90% taken up) and you can barely open 2 internet explorer windows without all the icons and menus screwing up. It fixes it if I close 1 or 2 windows and it only happens when I use DB. Im pretty sure it isn't a virus aswell, maybe someone else has encountered this problem and could help?

Yum! Yum! Yum! Yum!
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 2nd Mar 2003 20:32
it happens to all of us, all the time.

See the way the db editor works is it doesnt used the required ram it needs, it uses ALL AVALIABLE RAM to optomize performance. So the programs you have open before you run DB will work fine, because db wont take away from their memory usage. But if you try to run a program in the middle of a DB session you will have problems, because DB tries to optomize performance with all of yer hard earned ram.

buggers the hell out of me too

Darken the skies, we are god
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 2nd Mar 2003 20:43
OK thanks, thats helped a lot, but one more question - how come the RAM doesnt become available after you close DB, does this happen to you?

Yum! Yum! Yum! Yum!
Zach
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: Ms, USA
Posted: 3rd Mar 2003 01:24
I don't have this problem... it might just be your video card .. it should probly be at least a 32 meg. card..

Tupelo, Ms
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 3rd Mar 2003 18:03
Yeah, ATI rage 2 is pretty old (7 years or something) not sure how much memory its got, never mind about the problem, I just wanted to know if it was something wrong with my PC.

Thanks everyone

Yum! Yum! Yum! Yum!
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 4th Mar 2003 01:24
I have a ATI All-In-Wonder 128 (based on the Rage 128 chipset and equipped with 16mb RAM) and everything works without any problem.

Lol you have no graphic card in that one pc? Thats impossible... Where do you connect your screen?
Plutarck
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: United States
Posted: 4th Mar 2003 07:01
I use this freeware (it is commercial in ways, it is just that you as an individual can use it for free) memory management software called Cacheman - I pretty much have to because I have 512MB of RAM in Windows 98, and you need such a program to get the excess RAM to be handled properly anyway.

In addition to helping you monitor your RAM/virtual memory/etc usage at any given time, it can also free up memory either automatically or by telling it to do it manually, and has various profiles and settings to optimize how your computer deals with things like cache, RAM, and virtual memory. I never have it off, and never have a problem with it.

Heres the site (they have lots of other neet tools and such too, but I just mainly use Cacheman): http://www.outertech.com/

...oh, and no, I'm not affiliated with them in any way other than using their product

"My house has a 3D interface. I'm constantly losing crap, running into things, and it's always a mess."
doclar1
22
Years of Service
User Offline
Joined: 4th Jan 2003
Location: United States
Posted: 4th Mar 2003 07:21
I've used/tried Cacheman with Win 98SE and it slowed down my
hard drive access...
(go to: http://www.pcpitstop.com )
and test your computer to see if it is a advantage for your
system.



----
Warm Regards,
Lawrence D.F.Sr.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Mar 2003 21:11
Hamish... this is nothing to do with your computer don't worry.

This is a VERY well known DarkBasic Bug which has been asked time and time again to be fixxed, yet hasn't been addressed yet.

DarkBasic when you run through the compiler never fully leaves the memory, and after a good few runs (about 280 on a 512Mb WinXP machine) it corrupts the free memory.

now my guess is you get a message like "DirectDraw Failed" or "Canvas32 cannot be drawn" something along those lines ... don't worry about it too much, just reboot - its annoying and hopefully perhaps if enough people complain we'll finally get a patch to fixx it.
The ammount of compiles gets less when you use DarkEdit because it has its own memory management problems.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2025-08-08 20:40:17
Your offset time is: 2025-08-08 20:40:17