[comp.sys.hp] ld problem on hp9000 series 800

hans@ele.tue.nl (& Fleurkens) (09/12/90)

I've encountered a problem on our HP9000 series 800 computers. If I'm trying
to link the sources of a program using Xlib and Xm (Motif), I got the
following message:

ld: Out of memory.

Our system is configured with 16M memory. The problem seems to be dependent on
the system load at the time I'm trying to link the program.

Has anyone a solution to this problem?

Thanks in advance.
Hans.

---

Hans Fleurkens
Design Automation Section, Dept. of El. Eng.
Eindhoven University of Technology
The Netherlands

E-mail: hans@es.ele.tue.nl

daryl@hpcllla.HP.COM (Daryl Odnert) (09/12/90)

> ld: Out of memory.
> 
> Our system is configured with 16M memory. The problem seems to be dependent on
> the system load at the time I'm trying to link the program.
> 
> Has anyone a solution to this problem?

You may be running out of process swap space.  You might be able to
determine whether or not this is the problem out by running a
performance monitor tool, such as monitor(1M), in the foreground while
your ld job is running in the background.

How much swap space do you have configured on your file system?  

Daryl Odnert
daryl@hpcllla.cup.hp.com
HP California Language Lab

rer@hpfcdc.HP.COM (Rob Robason) (09/13/90)

hans> ld:  Out of memory.

hans> Our system is configured with 16M memory.  The problem seems to
hans> be dependent on the system load at the time I'm trying to link
hans> the program.

My guess is that it is *swap space* you are out of, not physical memory.

Rob Robason

shankar@hpclscu.HP.COM (Shankar Unni) (09/13/90)

> You may be running out of process swap space.  You might be able to
> determine whether or not this is the problem out by running a
> performance monitor tool, such as monitor(1M), in the foreground while
> your ld job is running in the background.

Yup. If you are not in a position to increase swap space, try specifying
the "-T" option to the linker (from the "cc" driver, specify the option
"-Wl,-T"), which tells the linker to keep its intermediate structures in
temp files rather than memory. See the ld(1) man page for details (under
the 800 dependencies section).
-----
Shankar Unni                                   E-Mail: 
Hewlett-Packard California Language Lab.     Internet: shankar@hpda.hp.com
Phone : (408) 447-5797                           UUCP: ...!hplabs!hpda!shankar