Larry Roberts je napisal:
With Windows XP Professional Service Pack 2, which has a 4 GB limit,
and modern disks, I would chose something slightly less than
4 GB. Say 3.5 GB. This gives you some warning as to when
you are going to run into the hard limit and have to change
your program or operating system. Note that your programs
might start taking 100s of times longer to run than if they had
enough real memory, but at least they would run.
If you had an operating system that supported much larger virtual
memory limits, I would suggest figuring a limit of about 3 times
real memory for each process can grow large and needs to run
at the same time. I would use 10 times real memory as
a starting point.
For fun you might try convincing Windows to put a paging file
on a flash memory device. Either a USB key or a USB key with
an SATA or PATA converter on it. Sequential access will be
much slower than real disks, but random access will be
much faster. Actual relative performance will depend on
the programs.
Sometimes it is helpful to suspend one program when
two programs that normally can run at the same time
without paging happen start paging due to the particular
data being processed.