Skip to contentSkip to conversation

Page swap

DISCUSSION Calin Szonyi 1 participant 1 message Nov 8, 2002

lore
Share & tools
lore
#0 lore raw

----- Original Message -----
From: Mike Ni <[email protected]>
Date: Thu, 7 Nov 2002 21:16:26 -0800 (PST)
To: [email protected]
Subject: Page swap

Quoted 10 lines

Folks,

I am having performance issue with one of the application. It looks like it is running low on the memory.

In addition to add new memory to the system, is there anything can be done while we are waiting for the memory upgrade?

Yes. You could add a swap file if you have enough
disk space:

dd if=/dev/zero of=path_to_your_file bs=1024 count=number_of_MB_you_want_to_add

mkswap -v1 path_to_your_file
swapon path_to_your_file

Also keep in mind that when the physical memory is
full and the application is alocating more and
mor memory your system will run at the speed of the hard drive

Quoted 3 lines

Thanks in advance
MIke

You're welcome
Bye
Calin

Signature · 10 lines
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs