HP3000-L Archives

January 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Thu, 13 Jan 2000 10:10:12 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Joe ponders?:
> Does anyone know why I am unable to do the following on the HP3000:
> (java version 1.1.7b)

>            Runtime.getRuntime().exec("/bin/ls > foo");

> java.lang.OutOfMemoryError

Hmmm.  I thought all this worked in 1.1.7B, since we spent a lot of time
making it work.  Have you tried execing a simpler command like a simple
"pwd" etc.?  There's a chance that the error is exactly correct and that the
VM just did not have enough stack available to create the additional thread
for the Java Process object, in which case you should try entering the Posix
environment with a larger NMSTACK which will then be inherited by the Java
VM when you get to it.  So exit out to the CI, and try:

:RUN SH.HPBIN.SYS;NMSTACK=10000000;INFO="-L"

then try the java command at the resulting shell prompt.

G.

ATOM RSS1 RSS2