delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/07:45:38

From: Ian Chapman <ichapman AT nortel DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: :Memory Exhausted
Date: Tue, 24 Mar 1998 07:31:06 -0500
Organization: Nortel
Lines: 41
Message-ID: <3517A78A.3C12@nortel.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980322161033 DOT 12221Q-100000 AT is>
Reply-To: ichapman AT nortel DOT ca
NNTP-Posting-Host: bcarib90.bnr.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli,
	thanks for the reply.  Sorry that I've mis-lead you when I said that it
took over 1 hour to compile I intended only to indicate that it was a
big job.  That is 50 .cpp files in 460Kbytes plus well over 50 headers. 
I did not measure the total No of lines as I have no complaints with
compile time.  Now that I have dj201 the linker does Hello world quite
fast too.

	The linker not being able to do the job is what I'd like to focus on. 
Go32-V2 reported

RAM 17747K and Swap space 3901K
I went into rhide and shelled to dos
RAM 16115K and Swap space 93K

	I repeated the test several times and always had lots of RAM but Swap
space was down to zero a couple of times.  Of interest rhide seems to
hold all the sources in memory.  However closing these files from the
rhide window and doing a simple link from rhide did not help the Memory
Exhausted situation.

	Binutils from info is version v2.8.1 and ar.exe is dated 2-16-97.

		Hope you can help me, Regards Ian.

Eli Zaretskii wrote:

> 
> > I`m running from rhide in a dos
> > window under win95.  When I link I get the following error message from
> > the linker:-
> >
> > Error filename.o: could not read symbols: Memory exhausted.
> 
> Please report the relevant details: how large is the library, what
> does go32-v2 print when invoked with no arguments (under rhide in the
> DOS box), and how much memory does ld consume before dying.  Without
> these details, it is very hard to know whether this problem is real or
> related to your system configuration.
> 
> Also, please tell which version of Binutils you are using.

- Raw text -


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