At 02:14 PM 12/1/98 -0800, Ka-Ping Yee wrote:
>[?] Is there an arbitrary limit on the stack frame in E? As in,
>is it specified by a constant somewhere, or did my machine really
>run out of memory?
From the Java JRE 1.1.3 documentation:
jre <options> ...
<options> ...
-oss x
Each Java thread has two stacks: one for Java code and one for C code. The -oss option sets the maximum stack size that can be used by Java code in a thread to x. Every thread that is spawned during the execution of the program passed to jre has x as its Java stack size. The default units for x are bytes. The value of x must be greater than or equal to 1000 bytes.
You can modify the meaning of x by appending either the letter "k" for kilobytes or the letter "m" for megabytes. The default stack size is 400 kilobytes ("-oss 400k").
Other Sun versions may specify this parameter differently. Check the documentation for the version you are running.