free memory how??!
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
free memory how??!
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??!
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??!
my english is horribel i know - SORRY i am dyslexic - i uses pb 3.94
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?
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?
@}--`--,-- A rose by any other name ..
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
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 
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..;
Code: Select all
test.s=Space(999999999)

PB 6.21 beta, PureVision User
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: free memory how??!
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
In 2003..

viewtopic.php?t=7959&postdays=0&postorder=asc&start=15
- np
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm
-
- Enthusiast
- Posts: 237
- Joined: Tue Apr 05, 2005 11:20 pm