swap never gets used
Hi all-
I am running 2.4.20-ben8 on an iBook. I have 384 megs of RAM, and a 400 meg
swap partition.
fdisk -l yields:
dump: name /dev/hda len 8
/dev/hda1 Apple_partition_map Apple 63 @ 1 (
31.5k) Partition map
/dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64
(800.0k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 819200 @ 1664
(400.0M) Linux swap
/dev/hda4 Apple_UNIX_SVR2 root 28481760 @ 820864 (
13.6G) Linux native
/dev/hda5 Apple_Boot MOSX_OF3_Booter 16384 @ 29302624 (
8.0M) Unknown
/dev/hda6 Apple_Loader SecondaryLoader 1024 @ 29319008
(512.0k) Unknown
/dev/hda7 Apple_UFS MacOSX 29285080 @ 29320032 (
14.0G) Unknown
/dev/hda8 Apple_Free 8 @ 58605112 (
4.0k) Free space
and running 'dmesg | grep swap' yields the two lines:
Starting kswapd
Adding Swap: 409592k swap-space (priority -1)
But when I attempt to use ant to compile our large project at work (with a
little over a thousand java files), I get an out of memory expception.
Running 'top' shows me that my memory gets used up (as I would kind of
expect), but 'used swap' never leaves 0k. The swap is simply not being used.
I tried 'swapon /dev/hda3', but got 'device or resource busy'
Can anyone think of what I might be doing wrong?
Thanks,
Mark
Reply to: