LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deactivating Virtual Memory (https://www.linuxquestions.org/questions/linux-newbie-8/deactivating-virtual-memory-4175425694/)

NetProgrammer 09-05-2012 12:01 AM

Deactivating Virtual Memory
 
Dear All,

does anybody know how I can deactivate virtual memory in Linx ?
I want one of prgrams running on computer does not use virtual memory and puts all of its data in real main memory.

chrism01 09-05-2012 04:49 AM

I can't imagine why you'd want to do that, but http://linux.die.net/man/8/swapoff

NetProgrammer 09-05-2012 05:05 AM

Dear chrism01
it was great, thank a lot : )

wpeckham 09-05-2012 10:12 AM

RE:"I want one of prgrams running on computer does not use virtual memory and puts all of its data in real main memory."

No you don't, you only think you do.

johnsfine 09-05-2012 10:19 AM

Quote:

Originally Posted by NetProgrammer (Post 4772922)
does anybody know how I can deactivate virtual memory in Linx ?

I'm pretty sure you can't.

Quote:

I want one of prgrams running on computer does not use virtual memory
Quote:

Originally Posted by chrism01 (Post 4773123)
http://linux.die.net/man/8/swapoff

That would apply to all programs, but just anonymous memory.

NetProgrammer seems to want this to apply to one program and I expect wants it to apply to all of that program's memory.


All times are GMT -5. The time now is 08:47 PM.