🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6834

Problem with system() when using lots of memory

#6834
From: David Oskard
Date: Wed, 13 Feb 1991 22:03
18 lines
1368 bytes
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@uunet.uu.net
or	uunet!gcapsm!david
or	oskard@cs.umass.edu    <<<--this one will definitely work
Technical Details
Message-ID: <1641@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: david@marshal.gca-prism (David Oskard)
Newsgroups: comp.sys.sun
Subject: Problem with system() when using lots of memory
Keywords: Miscellaneous
Message-ID: <1641@brchh104.bnr.ca>
Date: 13 Feb 91 22:03:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Original-Date: Thu, 7 Feb 91 11:07:05 CST
X-Sun-Spots-Digest: Volume 10, Issue 39, message 7
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu