Re: SWAP File

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

------=_NextPart_000_01C0B71D.AD1457A0

Dear Florian, 

> I would like to know if someone can help me :
> I would like to make a program that uses a maximum of memory, but
> without swap memory.
> Florian from France

Try please
---------------------------
sequence S
S={}
atom N
N=0
while 1 do
N+=1
S=append(S,N)
end while
---------------------------
This program must be for DOS32,
file with .ex extention, and run
in DOS window on Windows.
This program will occupy the whole
of RAM and stops with the error
message and the ex.err file.
In file ex.err, you can read
maximum  N.
It seems, Windows doesn't allow
swapping of DOS32 programs
and swaps only own code and data.

You can see my results and test
program in the attachment.

On Windows 95 in DOS window,
N was 834907 with 8M RAM
and 14M of the free disk space.

On plain DOS32, N was 1630691.

On plain DOS32, when swap file
was blocked with option
set causeway=NOVM (in autoexec.bat)
N was 834907, same as on Windows 95.

Regards,
Igor Kachan 
kinz at peterlink.ru


------=_NextPart_000_01C0B71D.AD1457A0
Content-Description: Flor.ex (EX )

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

Search



Quick Links

User menu

Not signed in.

Misc Menu