Skip to contentSkip to conversation

swsusp and available swap space

DISCUSSION Shawn Starr 2 participants 2 messages Dec 20, 2004

lore
Share & tools
lore
#0 lore raw

If say I have 980KB of memory used (of a total of 1GB physical RAM), and rest currently in swap memory giving me 1GB total ram used, and a swap of 1GB, when suspending would this fail? Wouldn't the swapped partition memory have to be moved somewhere?

I can't be sure because I cant suspend to disk yet.. it continues to abort and I wonder if its due to the swap size not being big enough for all ram + swapped memory to fit on the swap partition?

If so, I need to resize it.

Shawn.

#1 lore raw

Hi!

Quoted 1 line

If say I have 980KB of memory used (of a total of 1GB

980MB?

Quoted 4 lines

physical RAM), and rest currently in swap memory giving me 1GB total ram used, and a swap of 1GB, when suspending would this fail? Wouldn't the swapped partition memory have to be moved somewhere?

Try without highmem, and try suspending just after boot, when not that much memory is in use. If too much memory is used after boot, boot with init=/bin/bash, swapon and trigger swsusp.

Quoted 4 lines

I can't be sure because I cant suspend to disk yet.. it continues to abort and I wonder if its due to the swap size not being big enough for all ram + swapped memory to fit on the swap partition?

Messages from suspend would be helpfull.

Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!