delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/03/15:48:56

Date: Sun, 3 May 1998 18:00:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: B R Haynes <B DOT R DOT Haynes AT leeds DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Long file name problem with DJGPP find.exe command
In-Reply-To: <1998Apr30.142853.27162@leeds.ac.uk>
Message-ID: <Pine.SUN.3.91.980503180013.19706U-100000@is>
MIME-Version: 1.0

On Thu, 30 Apr 1998, B R Haynes wrote:

> find . -name "*" -print
> c:/djgpp/bin/find.exe: virtual memory exhausted
> 
> SET LFN=N removes the problem

I would guess that your DOS box has a low DPMI memory setting.  When
you set LFN=n, `find' gets shorter file names, and thus needs less
memory to store its data structures when it reads your disk.

Incidentally, I think `find' is a wrong tool for this job.  If you
only need to list all the files on your disk, then the following is a
better way:
		ls -liR .

- Raw text -


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