Re: No virtual memory?

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

Irv Mullins writes:
> What has happened to virtual memory with 2.1?
> I created the following program
> sequence x
> x = repeat(0,6000000) -- works ok.
> If I change the six million to seven million, it gives an
> out of memory error.

On my 32Mb Win95 machine in a DOS Window,
I can do 7 million, but then 8 million says "out of memory".

When restarted in "pure DOS", I went up to 12 million, and
didn't bother trying anything higher. 12 million needs 48 Mb,
since each element needs 4 bytes.

Nothing has happened to virtual memory in 2.1.

It's still there for ex.exe under Windows or pure DOS,
and exw.exe under Windows. The exact amount of memory
available has always been somewhat unpredictable.
The O/S, disk cache, and various background applications are
always hogging many megabytes of RAM.

Remember, for a 7 million element sequence you need
28 million *consecutive* bytes of virtual memory. It might
not always be easy for the O/S, or for CauseWay, to arrange this
for you from the existing free space.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu