Hi,

I am new in ruby language (I am new in languages based on garbage
collection).

I use huge memory arrays, such as:

a = []
a[10000000] = "bla" // this allocates 40MB of memory on Win2000
// ...some work with array

And now, array "a" is unnecessary for me.

a = []

But 40MB of memory is still allocated (in task manager on Win2000).

How I free allocated memory?

Thanks for help, Petr