Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ld error: virtual memory problem ?!
@ 1999-03-15  5:00 ijalab
  1999-03-18  5:00 ` Craig Neth
  0 siblings, 1 reply; 2+ messages in thread
From: ijalab @ 1999-03-15  5:00 UTC (permalink / raw)




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

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ld error: virtual memory problem ?!
  1999-03-15  5:00 ld error: virtual memory problem ?! ijalab
@ 1999-03-18  5:00 ` Craig Neth
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Neth @ 1999-03-18  5:00 UTC (permalink / raw)
  To: ijalab

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.
===============================================================================



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-03-18  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-15  5:00 ld error: virtual memory problem ?! ijalab
1999-03-18  5:00 ` Craig Neth

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