delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/14:44:02

Message-Id: <3.0.1.16.19980830144334.20ff6050@shadow.net>
Date: Sun, 30 Aug 1998 14:43:34
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Ralph Proctor <ralphgpr AT shadow DOT net>
Subject: Re: How to locate djgpp.env?
Cc: djgpp AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.980830183711.20257x-100000@is>
References: <6sbnho$k22$1 AT news DOT luth DOT se>
Mime-Version: 1.0

At 06:39 PM 8/30/98 +0300, you wrote:
>
>On 30 Aug 1998, Martin Str|mberg wrote:
>
>> Isn't this what happens if your drive fills up? Wouln't this happen if
>> your TMPDIR only can hold less than necessary regardless whether it's
>> on a RAMDISK or not?
>
>Yes and yes.  The problem is that RAM disks tend to be small (several
>MBytes), and uncompressing large .tar.gz files will fill them easily.  As
>a rule of thumb, if the compressed file is more than 4 times the size of
>RAM disk, you should reset TMPDIR befor running `tar' (or just use `djtar'
>;-). 

With my 4MB ramdisk I have had no problem detarring so far but the above is
revealing. I will keep it in mind. I could increase my ramdisk if I had to.

By the way, what do you recommend for normal compiling? I use 4MB because
the FAQ mentions this size.
I also have a 1.5 MB ramdisk in my "Windows" configuration, but I am aware
of this limitation and govern myself accordingly. But if you think a 6MB
ramdrive for my "DJGPP" configuration which I use for "serious" programming
is a good idea I would increase it. So far 4MB has served me well.

Ralph

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019