Problem with system() when using lots of memory

David Oskard david at marshal.gca-prism
Thu Feb 14 09:03:00 AEST 1991


We have been having problems using the system() function with programs
that are particularly memory hoggish.  Any call to system() after a large
portion of the machine's memory has been allocated causes a return with a
value of -1 and errno set to 12 (out of memory). Even just giving a simple
command like system("echo aaaaaaaargh") doesn't work.  Is there an easy
way to solve this?  Of course, the best solution would be to reduce the
program's memory requirements, but is there any other way to get it to
work?

Please reply to me via Email as I have limited net access.   Thanks in
advance!

	David Oskard @ PRISM Interactive Products
	Glen Ellyn, IL

	gcapsm!david at uunet.uu.net
or	uunet!gcapsm!david
or	oskard at cs.umass.edu    <<<--this one will definitely work



More information about the Comp.sys.sun mailing list