Re: allocate() and free()

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 1 Dec 2000, at 23:57, Robert Craig wrote:

> Robert Craig writes:
> >>     -- [ repeat(' ', 10485760) uses 80 MB
> > I don't trust your method of determining free memory.
> > The call to repeat() above only uses 4x1Mb = 4Mb not 80Mb
>
> Sorry! It's late, my eyes are getting tired sad.
> I guess that should be 40Mb.
> But I still doubt that VB really returns freed memory to the O/S.
> If it does, it must have a horribly inefficient memory allocator.

Ok, what about dos5? dos6.22? dos7? If i use 50 megs on a dos box with
64megs, and then write out all the vars and null them, then shell to another
dos session, how much memory will that session have to work with? Is
that repeatable?

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu