Subject: About 'Swap'
To: None <port-i386@netbsd.org>
From: Ruey-Shyang Guo <rsguo@ms25.hinet.net>
List: port-i386
Date: 10/17/1998 20:19:01
I wrote a simple program to test how much swap can I use. It looks like
this:
int  *array;
unsigned long total=XXXXXXX;
array = (int *)calloc(total, sizeof(int));
I found that 'total' have the upper bound. For example, there are
64MB RAM on my PC, the maximum of 'total' is 32000000. Namely I can only
allocate 128MB memory.(include Swap?)
Does it mean that it is large enough to set the 'Swap' size to equate the
RAM size and I can't allocate the part of bigger than the RAM size?