how to increase virtual memory in ubuntu after installation?

Asked by will turner

i installed Ubuntu first time.
after using it, it show 78 mb virtual memory, but i want to increase upto 754 mb.
so, i want to know that, How i increase virtual memory, after installing it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Where you have installed Ubuntu, on a virtual pc ?

Revision history for this message
Barry Drake (b-drake) said :
#2

How did you install? Is this a wubi installation or a native installation? Or on a virtual PC as above?

Revision history for this message
will turner (hoard21) said :
#3

i install in hard drive, by replacing windows XP3.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #197067]: how to increase virtual memory in ubuntu after installation?
> Date: Sun, 13 May 2012 10:55:49 +0000
>
> Your question #197067 on ubiquity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> Status: Open => Needs information
>
> marcobra (Marco Braida) requested more information:
> Where you have installed Ubuntu, on a virtual pc ?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> You received this question notification because you asked the question.

Revision history for this message
will turner (hoard21) said :
#4

i installed it on hard drive by replacing windows. and version of Ubuntu is Ubuntu 10.10 (32 bit).

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #197067]: how to increase virtual memory in ubuntu after installation?
> Date: Sun, 13 May 2012 12:25:59 +0000
>
> Your question #197067 on ubiquity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> Barry Drake requested more information:
> How did you install? Is this a wubi installation or a native
> installation? Or on a virtual PC as above?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> You received this question notification because you asked the question.

Revision history for this message
Barry Drake (b-drake) said :
#5

If you did a full instalation on your hard drive and got rid of Windows completely, there is no such thing as virtual memory. Please tell us step by step just how you installed Ubuntu. Something like: 'I put the DVD in my drive and re-started the computer. I got a screen that asked did I want to 'Try Ubuntu' or 'Install Ubuntu' and so on in detail, because otherwise what you are saying about 'virtual memory' is a mystery to all of us.

Revision history for this message
Anton Kanishchev (ak12-deactivatedaccount) said :
#6

I think you are referring to swap space. In that case you will need a Live cd. If you are not reffering to swap space then please describe what you are referring to-where are you getting the information about your "virtual memory" from?

Instructions.
1-backup any data that you want to keep-resizing partitions can cause data losss/corruption.
Boot from live cd-it needs to have gparted on it.
it should detect that you have linux installed and will use the swap space.

2-open gparted and click on your swap partition (right click) press swapoff . this dismounts swap so you can increase the size of it.
3-now you need to shrink a partition next to it by the same size that you want to increase your swap partition by. So in my case i have 4gb ram and 4gb swap. I need 8gb swap. So i reduce the partition next to swap by 4gb. the unallocated (greyed out) space should be next to the partition. Now click on the partition (the bar at the top of gparted) and select resize. Include your unallocated space. click swapon-restart.
4-you now have more swap.

Warnings!!!

1-always have backups-not just when you are changing the system
2-dont delete the swap partition- it is harder (at least for me) to create a new one so that everything works.

Revision history for this message
will turner (hoard21) said :
#7

i just installed as after inserting the CD. and follow and enter what the required like name, password time zone.

after installing ubuntu, when i clicked system-->administrator--> "system monitor" and then click on "resource" tab, then it show moemry( ie RAM and swap).
 swap show 90 MB.
i thought swap is behave like virtual memory as in window. so i want to increase the swap to 754 MB..

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #197067]: how to increase virtual memory in ubuntu after installation?
> Date: Sun, 13 May 2012 13:26:05 +0000
>
> Your question #197067 on ubiquity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> Status: Open => Needs information
>
> Barry Drake requested more information:
> If you did a full instalation on your hard drive and got rid of Windows
> completely, there is no such thing as virtual memory. Please tell us
> step by step just how you installed Ubuntu. Something like: 'I put
> the DVD in my drive and re-started the computer. I got a screen that
> asked did I want to 'Try Ubuntu' or 'Install Ubuntu' and so on in
> detail, because otherwise what you are saying about 'virtual memory' is
> a mystery to all of us.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/197067
>
> You received this question notification because you asked the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Be sure your backups are up to date before resizing partitions

Revision history for this message
Sam_ (and-sam) said :
#9

Can you help with this problem?

Provide an answer of your own, or ask will turner for more information if necessary.

To post a message you must log in.