Freeing memory
[1/3] from: dankelg8::cs::man::ac::uk at: 1-May-2001 15:15
Hi,
if I create a block like this:
>> a: make block! 100000
the memory usage of REBOL increases.
If I do
>> unset 'a
there should be no references to the block.
However, the memory is not released.
How can I get the memory back?
Gisle
[2/3] from: jelinem1:nationwide at: 1-May-2001 9:43
I had noticed this, and guessed that the garbage collection in REBOL
reclaims memory back into it's own pool, but does not release it back to
the OS.
- Michael Jelinek
Gisle Dankel <[dankelg8--cs--man--ac--uk]>@rebol.com on 05/01/2001 09:15:07 AM
From: Gisle Dankel <[dankelg8--cs--man--ac--uk]>@rebol.com on 05/01/2001 09:15 AM
Please respond to [rebol-list--rebol--com]
Sent by: [rebol-bounce--rebol--com]
To: <[rebol-list--rebol--com]>
cc:
Subject: [REBOL] Freeing memory
Hi,
if I create a block like this:
>> a: make block! 100000
the memory usage of REBOL increases.
If I do
>> unset 'a
there should be no references to the block.
However, the memory is not released.
How can I get the memory back?
Gisle
[3/3] from: dankelg8:cs:man:ac at: 1-May-2001 15:56
Yes, that seems to be the case.
For instance:
Rebol memory usage: 4520k
>> make block! 100000
Rebol memory usage: 6088k
>> loop 10 [make block! 100000]
Rebol memory usage: 6088k
Is there a way of decreasing the size of the REBOL memory pool?
Gisle
On Tue, 1 May 2001 [JELINEM1--nationwide--com] wrote: