Re: running out of memory

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

j77 writes:
> my machine = win98, AMD K62 333, 96 MB SDRAM,
> 788 MB free HDD...
> the question is, why do I run out of memory...?

Temporary variables are sometimes created. e.g.

> c = 0 & a

A 32Mb temporary is created just before the old 32Mb
value of c is destroyed. For a brief moment, both exist.
(I've been considering optimizing this.)

Win98 is not going to give you *all* of the 96Mb RAM
on your machine, nor will it let you use anywhere near
all of your free disk space for swapping. I would imagine
that it keeps several megabytes RAM for it's own use.

When Euphoria fails to allocate an extra 32Mb, it may be
the case that the operating system has 32Mb available,
but not all in one huge contiguous piece.

When swapping starts to happen your program will slow
down considerably, and the timings will not be very consistent.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu