Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
Rep:
Virtual memory is always in use in Linux. If you mean swap space, most distributions enable that by default on installation. You can check in a terminal with the 'free' command:
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339
Original Poster
Rep:
No/Yes Like in win xp : computer proErtys , advanced , performance, advanced, virtual memory; that's the sort of control I want is there anything like that?
You make a swap partition, then you turn that partition into swap space, and turn on the swap space. You can use the "free" or "top" commands, read the values for "swap" that they show.
Like in win xp : computer proErtys , advanced , performance, advanced, virtual memory
That lets you set the size of the page file on each partition, or let Windows control it.
XP page file serves the same purpose as Linux swap space. You can set up swap space as swap partitions or as swap files on whatever filesystem partition you like (more flexibility than Windows) but there is no direct option to have a dynamically sized swap file similar to Windows page files.
To build on what johnsfine said, Linux by default does not handle swap the way Windows does.
Linux swaps to a partition of a fixed size dedicated to that purpose, so the swap file size, location, and other controls in Windows are meaningless to Linux.
(Occasionally on very small hard drives with non-standard installs, you might see a swap file instead of a swap partition, but it is a little used and little useful choice.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.