Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* figuring out how much memory/Swap on True64.
@ 2001-09-26 12:50 James E Kogler
  2001-09-26 20:14 ` Dr Ivan D. Reid
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James E Kogler @ 2001-09-26 12:50 UTC (permalink / raw)


I have a true 64 system running i think 4.0e
i am having problems building gcc-3.0.1 becasue i run out of virtual
memory:

 -I/opt/jim/obj/alphaev56-dec-osf4.0e/libstdc++-v3/include     
-I../../../../gcc-3.0.1/libsbsupc++ 
-I../../../../gcc-3.0.1/libstdc++-v3/libmath                    -g -O2
-mieee -fno-mplates                 -Wall -Wno-format -W -Wwrite-strings
-Winline  -fdiagnostics-show-lo                -g    -c
../../../../gcc-3.0.1/libstdc++-v3/src/locale-inst.cc
/opt/jim/obj/gcc/xgcc -B/opt/jim/obj/gcc/ -nostdinc++
-L/opt/jim/obj/alphaev56-dec-osf4.0e/l/src
-L/opt/jim/obj/alphaev56-dec-osf4.0e/libstdc++-v3/src/.libs
-B/bfs/software/axp/true64-/alphaev56-dec-osf4.0e/bin/
-B/bfs/software/axp/true64-4/gcc-3.0.1/alphaev56-dec-osf4.0e/lib/bfs/software/axp/true64-4/gcc-3.0.1/alphaev56-dec-osf4.0e/include
-nostdinc++
-I/opt/jim/ob-dec-osf4.0e/libstdc++-v3/include/alphaev56-dec-osf4.0e
-I/opt/jim/obj/alphaev56-dec-osf4.0ev3/include
-I../../../../gcc-3.0.1/libstdc++-v3/libsupc++
-I../../../../gcc-3.0.1/libstdc++--g -O2 -mieee -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnolocation=once -g
-c ../../../../gcc-3.0.1/libstdc++-v3/src/locale-inst.cc   -DPIC -o
.libs/lo
Virtual memory exhausted: Not enough space
gmake[3]: *** [locale-inst.lo] Error 1


i am just trying to figure out, how much swap space i have, how much
physical memory etc..

jim


-- 
Jim Kogler

Integrated Computer Solutions, Inc.
Visual Development Tools for Professionals

PHONE: 617.621.0060 x132 
FAX:   617.621.9555 

201 Broadway 6th Floor
Cambridge, MA 02139


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

* Re: figuring out how much memory/Swap on True64.
  2001-09-26 12:50 figuring out how much memory/Swap on True64 James E Kogler
@ 2001-09-26 20:14 ` Dr Ivan D. Reid
  2001-09-26 21:51 ` Big H
  2001-09-28  0:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 0 replies; 4+ messages in thread
From: Dr Ivan D. Reid @ 2001-09-26 20:14 UTC (permalink / raw)


On 26 Sep 2001 12:50:58 GMT, James E Kogler <jimk@ics.com>
 wrote in <3BA49ED9.3BDBA9A1@ics.com>:
>I have a true 64 system running i think 4.0e
>i am having problems building gcc-3.0.1 becasue i run out of virtual
>memory:

>i am just trying to figure out, how much swap space i have, how much
>physical memory etc..

	top will tell you that, but there are probably more elegant ways.

-- 
Ivan Reid, Physics & Astronomy, University College London.   idr@hep.ucl.ac.uk
	KotPT -- "for stupidity above and beyond the call of duty".


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

* Re: figuring out how much memory/Swap on True64.
  2001-09-26 12:50 figuring out how much memory/Swap on True64 James E Kogler
  2001-09-26 20:14 ` Dr Ivan D. Reid
@ 2001-09-26 21:51 ` Big H
  2001-09-28  0:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 0 replies; 4+ messages in thread
From: Big H @ 2001-09-26 21:51 UTC (permalink / raw)


On 26 Sep 2001 12:50:58 GMT, James E Kogler <jimk@ics.com> wrote:

>I have a true 64 system running i think 4.0e
>i am having problems building gcc-3.0.1 becasue i run out of virtual
>memory:
>
> -I/opt/jim/obj/alphaev56-dec-osf4.0e/libstdc++-v3/include     
>-I../../../../gcc-3.0.1/libsbsupc++ 
>-I../../../../gcc-3.0.1/libstdc++-v3/libmath                    -g -O2
>-mieee -fno-mplates                 -Wall -Wno-format -W -Wwrite-strings
>-Winline  -fdiagnostics-show-lo                -g    -c
>../../../../gcc-3.0.1/libstdc++-v3/src/locale-inst.cc
>/opt/jim/obj/gcc/xgcc -B/opt/jim/obj/gcc/ -nostdinc++
>-L/opt/jim/obj/alphaev56-dec-osf4.0e/l/src
>-L/opt/jim/obj/alphaev56-dec-osf4.0e/libstdc++-v3/src/.libs
>-B/bfs/software/axp/true64-/alphaev56-dec-osf4.0e/bin/
>-B/bfs/software/axp/true64-4/gcc-3.0.1/alphaev56-dec-osf4.0e/lib/bfs/software/axp/true64-4/gcc-3.0.1/alphaev56-dec-osf4.0e/include
>-nostdinc++
>-I/opt/jim/ob-dec-osf4.0e/libstdc++-v3/include/alphaev56-dec-osf4.0e
>-I/opt/jim/obj/alphaev56-dec-osf4.0ev3/include
>-I../../../../gcc-3.0.1/libstdc++-v3/libsupc++
>-I../../../../gcc-3.0.1/libstdc++--g -O2 -mieee -fno-implicit-templates
>-Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnolocation=once -g
>-c ../../../../gcc-3.0.1/libstdc++-v3/src/locale-inst.cc   -DPIC -o
>.libs/lo
>Virtual memory exhausted: Not enough space
>gmake[3]: *** [locale-inst.lo] Error 1
>
>
>i am just trying to figure out, how much swap space i have, how much
>physical memory etc..
>
>jim

You should check your process limits, using ulimit -a. This will show
you the virtual memory limit for your process. ulimit -Ha will show
you the maximum hard limits. You can increase your process limits upto
the hard limits. More than this and you will need to use dxkerneltuner
to increase the system limits.

If you want to see how much memory your machine has use vmstat -P, if
you want to see how much swap then use swapon -s.

Big.H


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

* Re: figuring out how much memory/Swap on True64.
  2001-09-26 12:50 figuring out how much memory/Swap on True64 James E Kogler
  2001-09-26 20:14 ` Dr Ivan D. Reid
  2001-09-26 21:51 ` Big H
@ 2001-09-28  0:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-09-28  0:02 UTC (permalink / raw)


In article <3BA49ED9.3BDBA9A1@ics.com>, James E Kogler <jimk@ics.com> writes:
>From: James E Kogler <jimk@ics.com>
>Newsgroups: comp.sys.dec
>Subject: figuring out how much memory/Swap on True64.
>
>I have a true 64 system running i think 4.0e
>i am having problems building gcc-3.0.1 becasue i run out of virtual
>memory:
>
> [ Build example deleted... ]
>
>Virtual memory exhausted: Not enough space
>gmake[3]: *** [locale-inst.lo] Error 1
>
>
>i am just trying to figure out, how much swap space i have, how much
>physical memory etc..

You can use the swapon(8) command to see how page/swap space is
configured and how much there is.  The amount of memory is recorded
in the system boot messages which are written to /var/adm/messages
but this isn't generally world readable.  The amount of physical
memory would probably not have an affect on your symtom though;
it "just" keeps down the amount of paging necessary to use the
amount of virtual memory you want.

One common cause of this symtom is trying to an amount of stack
or data space in excess of the per-process limits.  The system
has two values for each, the default value and the maximum.  The
usual default value for the datasize is 128 MB (maximum 1 GB)
which is often not enough for some applications.  Most shells
support a built-in command that allows raising the default.  See
your shell manual page to see what it supports.

>
>jim
>
>
>-- 
>Jim Kogler
>
>

--
Alan Rollow				alan@nabeth.cxo.dec.com



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

end of thread, other threads:[~2001-09-28  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 12:50 figuring out how much memory/Swap on True64 James E Kogler
2001-09-26 20:14 ` Dr Ivan D. Reid
2001-09-26 21:51 ` Big H
2001-09-28  0:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.

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