Hello,
The stack size parameter (-Xss) makes a difference. The
thread stack is not allocated in the heap memory area of the
JVM process (-Xmx) so it has no connection with the -Xmx
parameter.
The default stack size was increased in more recent JVMs. I
think it is 1 MB only for the JVMs on 64 bits but it is 512
KB for the JVMs on 32 bits which is less than the minimum
required stack size for Gavin's regexp pattern. Anyway I
tested the regexp pattern and with -Xss800k and I no longer
get StackOverflowError.
Regards,
Sorin
Andrew Welch wrote:
It fails because the minimum heap size switch is "Xms" not xss... (and
I think the default is 1m anyway)
Also, setting that switch wouldn't make any difference because that is
the amount of memory the JVM grabs at startup - it will continue to
use more memory until it hits the value specified by the Xmx switch.
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user