Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4598

undocumented limits on subprocesses?

From algal <alexisgallagher@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject undocumented limits on subprocesses?
Date 2011-08-26 09:37 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j37pfs$4nn$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi,

I am trying to understand why a command-line utility I have written
always crashes only when I try to call it from Mathematica. Are there
little-documented limits on what child processes can do -- e.g., on
memory allocation, handling of the environment, etc.?

The command-line utility is a large (70MB) standalone binary
executable produced by Steel Bank Common Lisp (SBCL). It queries the
network and prints csv-formatted data to stdout. I've been able to run
it successfully from the command line, from shell scripts, from R, and
from Python. But when I try to run it from Mathematica, using Export
or OpenRead, the binary crashes.

I don't have this problem when I use Mathematica merely to call a
similar executable which only prints  prints a thousand lines of
"Hello, World" (roughly the number of lines of the actual utility), so
the problem depends on the computation done by the binary.

Any suggestions or pointers appreciated.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

undocumented limits on subprocesses? algal <alexisgallagher@gmail.com> - 2011-08-26 09:37 +0000

csiph-web