jcburt@gatsibm.larc.nasa.gov
Date: 04/05/93


From: jcburt@gatsibm.larc.nasa.gov ()
Subject: Re: mke2fs
Date: 5 Apr 1993 12:08:04 GMT

In article <1993Apr2.170620.15844@informatik.uni-bremen.de> i03a@alf.zfn.uni-bremen.de (Thomas Meyer) writes:
>Thomas Herz (herz@d26.wu-wien.ac.at) wrote:
>: Every time i try to install an extented FS with mke2fs,
>: i got the message :
>: Out of memory
>: Killed
>: Why ??????
>
>I had the same problem. I tried to install Linux on a 195 MB extended
>partition. Then I reduced the number of blocks given to mke2fs after
>the device name and at some point it worked. :( It seems that mke2fs
>uses much memory to build the table or something... Anyway, I've got
>my Linux partition, but lost a few KB in /dev/null :)
>
Well, you both *could* have tried creating a swap space first and *then*
tried to do a mke2fs...:-) i.e.
mkswap /dev/hda1 16000
swapon /dev/hda1
mke2fs /dev/hda2 1234567

(just substitute your partitions and your partition sizes...:-)

generally when you run out of memory on a UNIX system, you can increase
the amount of swap space to get around the problem. It'll be slower, but
slower is better than getting killed...

John
jcburt@gatsibm.larc.nasa.gov