delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/16/02:54:30

Date: Wed, 16 Oct 2002 08:23:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Johnny Patino <jpatino AT shaw DOT ca>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: bash
In-Reply-To: <FNECIMINMIIEHEDBENONIEOMCBAA.jpatino@shaw.ca>
Message-ID: <Pine.SUN.3.91.1021016081937.20518F@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 15 Oct 2002, Johnny Patino wrote:

> When I execute the following command using bash-2.05b:
> bash-2.05b$ javac -d d:/documents/johnny BoardPanel.java TopPane.java
> BottomPane.java WheelOfFortune.java
> I get the following error:
> bash.exe: c:/progra~1/java/j2sdk1~1.0/bin/javac.exe: Not enough memory
> (ENOMEM)

It's not a memory problem, it's a manifestation of a bug in the way 
Windows 2000 and XP implement the long file-name (LFN) API for DOS 
programs.  The error message comes from a function that tries to rename a 
file, typically a temporary file created by the compiler is renamed to 
the output file you specified.

> Could someone please let me know how to increase the memory for bash under
> W2K.

The amount of memory is not your problem.  To fix the bug, you need a 
version of javac built with a fixed library, which includes a workaround 
for this Windows bug.  I don't know whether such a javac exists and 
where, sorry.

- Raw text -


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