Subject: Minimum swap size?
To: None <netbsd-help@netbsd.org>
From: S. N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 01/17/2003 10:37:38
Hello,

I have recently upgraded the system memory to ~384M.  But, does this mean=
 that=20
I need to make the swap size on disk ~768M?  I only have 4.8G of hard dis=
k=20
space and with ~768M of swap space, that only leaves me roughly 1.3G of f=
ree=20
space after everything is installed.  Which makes compiling the NetBSD fr=
om=20
sources virtually out of question.  I am asking this because last time I =
had=20
only 128M of RAM with 256M for swap, and compilation of KDE2 failed=20
indicating lack of swap space!  Only after making my swap space 4x the=20
physical RAM, in this case 512M swap for 128M of RAM, was I successful in=
=20
compiling KDE2.  I was wondering with 384M of free RAM, I would still nee=
d=20
roughly 4x swap, i.e., 1.5G for swap for 384M of RAM!, to compile KDE3.  =
=20
Last time I tried compiling KDE3 with 384M of RAM and 512M of swap, KDE3=20
failed during the compilation.  I assumed this was the same lack of swap=20
space issue (even with that extra 256M of free RAM!).  I  really have no =
idea=20
how swap space is handled under NetBSD and why KDE3 would require so much=
=20
swap to compile even when you have good chunk of RAM!   Thank you.


Yours sincerely,
S. N. Cho,
Friday, Jan. 17, 2003.