HP3000-L Archives

January 1998, Week 4

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:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Thu, 22 Jan 1998 15:47:50 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
james anderson writes:
> we're trying to get java up on the 3000 and have encountered a few
> obstacles. we would appreciate advice from those of you who have managed
> to install and use it. the current problems are two:
> 1: if we try to use it under posix, it invariably fails with a stack
> overflow. this although the sysgen setting for NMSTACK has been
> dutifully modified to 40M (as an aside- anyone know WHY one needs a 40M
> stack to get this to run?), but the behaviour remained unaltered.

I'm not using Java/iX yet, but the general solution for not enough POSIX stack
space is to :LINKEDIT ALTPROG SH.HPBIN.SYS and increase the *shell's* NMSTACK,
not the program that actually blows up.  This is because in the fork/exec
POSIX environment, you inherit your stack limits from your parent process, and
the shell is the parent of everything (assuming you invoke the shell first and
then run your user programs under the shell).
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2