Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

running out of memory

  Date: Jan 09    Category: Unix / Linux / Ubuntu    Views: 389
  

I'm getting memory errors that say my disk in filling up, just a few
hundred mb left. I don't have one up on my screen now so I can't quote
it exactly. I had it run disk usage analyzer, and it says I have 355.2
gb available. I'm the one running Ubuntu inside Windows via Wubi, so I
suspect that has something to do with it. Maybe it created a loopback
file of a certain size and I'm maxing it out. That possible, and what
do I do about it?

Share: 

 

13 Answers Found

 
Answer #1    Answered On: Jan 09    

Run Windows inside Ubuntu?..................

 
Answer #2    Answered On: Jan 09    

The Wubi Guide shows how to resize your image file and how to increase your
swap space (cache). It also suggests that you defragment Windows.

https://wiki.ubuntu.com/WubiGuide

 
Answer #3    Answered On: Jan 09    

The Wubi Guide shows how to resize your image file and how to increase your
swap space (cache). It also suggests that you defragment Windows.

https://wiki.ubuntu.com/WubiGuide

 
Answer #4    Answered On: Jan 09    

Is it Windows or Ubuntu that's telling you that the HD space
is low ?

 
Answer #5    Answered On: Jan 09    

"I may die a beggar, but with the Grace of God, I will not die a slave.
I will not be filed, stamped, briefed, debriefed, or numbered...
My life is my own."

 
Answer #6    Answered On: Jan 09    

If it's Ubuntu that's telling you that HD space is low then perhaps
when you installed it you didn't specify a large enough virtual drive.

The way it works is that a file is created in Windows for Ubuntu and
this is effectively the HD space that Ubuntu has to work in. Anything
downloaded or installed whilst in Ubuntu goes to that virtual drive
space, not the rest of the HD.

As for increasing that virtual HD space - the link below is all about
Wubi and how to do just that along with other information ...

https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20disks?

 
Answer #7    Answered On: Jan 09    

I notice that that page says that method won't work with 10.04, which is what I
have. Any other methods of increasing my disk space?

 
Answer #8    Answered On: Jan 09    

You are referring to LVPM which seems to be lagging in development, but the
second option of adding a virtual disk and moving /home would give you more
free space in root and you can make home as big as you like.

 
Answer #9    Answered On: Jan 09    

So am I correct in believing that what that would be doing would be
basically creating another space for Ubuntu on my hard drive and moving
it there? The entire installation of Ubuntu is in /home, isn't it? If
this is the case, that sounds like the simplest thing.

 
Answer #10    Answered On: Jan 09    

Almost. The entire installation is in "/" (root). The directories from
root are things like /bin /boot /dev /etc /home /lib /media /sys /tmp
/usr /var etc. What the previous poster was indicating was that only
/home should be moved to the new virtual disk. If you move everything
it won't boot.

 
Answer #11    Answered On: Jan 09    

So all my storage space--files, etc., would be in /home, so moving it
would leave only the things Ubuntu needs to function where it is, and
then what I need to store files would be moved elsewhere, and I can make
that as big as I want...?

 
Answer #12    Answered On: Jan 09    


That's the deal. Choose a /home space big enough to store your data,
settings etc. You will need to make allowance for your habits. For example
if you download torrents (or anything P2P), it will keep partial downloads
as well as completed ones. These can add up. You can move completed ones to
the Windows host (C: drive) and that will free up space. You can clean out
your caches at regular intervals but if are lax they too can add up quickly.
A good utility to install is filelight which graphically shows you what is
using the most space. It is in the repositories.

I have found Linux very forgiving, but it can become unstable or even fail
to load if you run out of space in your drives.

 
Answer #13    Answered On: Jan 09    

You will in effect be splitting your current installation into root and
/home. Your current installation will stay as root and /home will be moved
from /home in root to the new space. It is equivalent to moving it to its
own partition if this was a regular installation. Currently the entire
installtion is not in /home but in root (/). This is normally the way Ubuntu
installs (on one partition), but you can take control and manually install
it across two or more partitions. You can do this during installation if you
don't use WUBI or you can do it afterwards, in both WUBI and regular Ubuntu.

 
Didn't find what you were looking for? Find more on running out of memory Or get search suggestion and latest updates.




Tagged: