Page 1 of 1
free memory how??!
Posted: Tue Feb 21, 2006 5:51 pm
by doodlemunch
hi how do u free memory ??
i now use freememory() but what is abut other memori i did not allocatet?
i see a program that it free memory how is tht done??!
Posted: Tue Feb 21, 2006 6:00 pm
by Dare2
Any memory you did not specifically allocate should be handled by PureBasic. So you shouldn't need to worry about it.
However if the allocation was done outside of PureBasic (API call or dll or lib) then that method should also offer a release method.
Is that what you're looking for?
Posted: Tue Feb 21, 2006 6:30 pm
by doodlemunch
no i wantet to free memory like those proggies that u put "i wanna free 64mb" and u click "free"
Posted: Tue Feb 21, 2006 6:32 pm
by Dare2
lol, I was way off track! Sorry.
Actually, I think there is a thread/discussion here somewhere on memory optimisers or whatever they're called.
Posted: Tue Feb 21, 2006 6:47 pm
by doodlemunch
ah
i will look!
optimizer that culd be
Posted: Tue Feb 21, 2006 6:54 pm
by doodlemunch
no no i can not find anythin related
Posted: Tue Feb 21, 2006 6:55 pm
by thefool
Well... Here you go:
Allocate a lot of memory, free it, allocate it again.
HOW to allocate that amount of memory and really not just allocate but also use it..;
Fire that off, wait some seconds (just a few), stop the program, start again wait eg 5 seconds, stop. Then see how much free mem you got

Posted: Tue Feb 21, 2006 7:12 pm
by zikitrake
Posted: Tue Feb 21, 2006 8:58 pm
by Num3
Yeah!
I use this precious code a lot, when i need to free my mem

Posted: Tue Feb 21, 2006 9:02 pm
by doodlemunch
thx u!!
i want to buy pb so bad!!!! learnin wiht the demo is not fun
Re: free memory how??!
Posted: Thu Feb 23, 2006 4:51 am
by NoahPhense
Yeah it's still in there forums.. But I wrote this a while back.
In 2003..
viewtopic.php?t=7959&postdays=0&postorder=asc&start=15
- np
Posted: Thu Feb 23, 2006 5:39 pm
by doodlemunch
i mades it compile but it does not work
Posted: Fri Feb 24, 2006 12:52 am
by Straker
doodlemunch wrote:my englissh is horribel i know SORRY im dutch and dyslexic how worstt can it goe??
More Broccoli?

Posted: Fri Feb 24, 2006 1:17 am
by doodlemunch
i thinks that wuld make me fart until i die
but perhap it culd be worst