Malloc Problems with DECstation 5000/200

Alan's Home for Wayward Notes File. alan at shodha.enet.dec.com
Wed Apr 17 02:09:24 AEST 1991


In article <3853 at ssc-bee.ssc-vax.UUCP}, ian at ssc-vax.UUCP (Ian R. Searle) writes:
} Has anybody out there been having malloc problems on a DECstation
} 5000/200? We have 32 Meg of RAM, and 150+ swap, output from
} pstat -s below:
} 
} 157688k swap configured
} 21948k reserved virtual address space
} 	20236k used (4640k text, 0k smem)
} 	137452k free, 1224k wasted, 0k missing
} avail: 4291*32k 140*1k
} 
} We are having troubles getting a single process to malloc more than
} 60 Mbytes, we can get the same program running in separate windows
} to malloc over 120 Mbytes, but a single instance of the program
} cannot seem to grab more than about 60 Mbytes. The simple test
} program listed below can grab 32 Mbytes, 60-70 Mbytes when linked
} with "gcc -o test test.o -lmalloc". BTW when we run this program
} there is plenty of free swap according to pstat -s.

	What is the value of maxdsiz in the configuration?  If
	left to default the data space of a process on a DECstation
	is limited to 64 MB.  You can also check it by using the
	csh(1) limit built-in.

	See the "Guide to System Configuration File Maintainence"
	for rules on changing the value.
} 
} 
} [ Program deleted. ]
} 
} Can anybody point out what in the world I'm doing wrong (no this is
} NOT a trick question).

	It's almost certainly a limit problem.
} 
} Thanks in advance, Ian Searle

	You're welcome.


-- 
Alan Rollow				alan at nabeth.cxn.dec.com



More information about the Comp.unix.ultrix mailing list