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 Professional Discussion / Virtual Memory Realese

Author
Message
luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 22nd May 2010 10:14 Edited at: 22nd May 2010 12:51
Hi guys,
i`m making some experiments with a system i build for my projects, it handles all ID`s of anything i load in my game/project/program so while i`m using it i don`t need to worry about them.

The problem is that most stuff dbpro is loading build in the virtual memory and wont go away when i delete something that i do not need anymore in my program.

For example: When i load sounds "*.wav" with my code it doesen`t realese the virtual memory, but if load music "*.mp3" there is no problem, once i delete the music it`s gone from virtual memory.

Is this dbpro issue?

Is there a way to clear the virtual memory?

EDIT: Ok, further experiments showed that the problem was in me, anything loaded beyond the point my routine can handle wasn`t deleted from memory, because it didn`t look for it.

But i think the above about sounds stays as bug or something, i`ll check it again.

Where there is a will, there is a way.
I often edit my posts, that`s who i am

Login to post a reply

Server time is: 2026-07-25 16:19:19
Your offset time is: 2026-07-25 16:19:19