Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Craig Neth <craig.neth@compaq.com>
To: ijalab@hotmail.com
Subject: Re: ld error: virtual memory problem ?!
Date: 1999/03/18	[thread overview]
Message-ID: <36F16D7D.853FD396@compaq.com> (raw)
In-Reply-To: 7ck4hk$ogo$1@nnrp1.dejanews.com

ijalab@hotmail.com wrote:
> 
> We are getting this error when we link our executable : "ld: out of memory".
> This happened on HP, and we fixed it by the command line switch to ld :
> '-T' , according to this switch, this option reduces the virtual memory
> requirements of the linker.  If the TMPDIR environment variable is set, the
> temporary files are created in the specified directory, rather than in
> /var/tmp.
> 
> Now I am experiencing the same problem on DEC OSF/1 but the ld command here
> does not seem to have such a switch. I am using cxx (c++ compiler).
> 
> Can anyone suggest a solutiuon short of increassing swap space, ulimit etc ?
> We tried that also but to no effect.
> 
> Thanks a lot.
> 
> - Balaji

The linker on Tru64 UNIX does not use temp files, so fiddling with
TMPDIR
won't help.  Also, there aren't any switches to 'reduce memory usage' - 
we try to do that by default all the time...

I do recall a bug in certain versions of V4.0x (maybe releases before
V4.0D) 
that caused a similar message when the linker was doing C++
prelinking.    
There are patches available for that one - make sure you are running the 
latest OS patches.

Craig

-- 
Craig Neth                         ! neth@zk3.dec.com
Compaq Computer Corporation        ! 
110 Spit Brook Road ZKO3-2/W17     !
Nashua, NH 03062                   ! Opinions expressed herein are my
own.
===============================================================================



      reply	other threads:[~1999-03-18  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-15  5:00 ld error: virtual memory problem ?! ijalab
1999-03-18  5:00 ` Craig Neth [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox