For Programmers: Free Programming Magazines  


Home > Archive > Java Help > January 2006 > JNI and Stack Overflow









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JNI and Stack Overflow
borgna.marco@gmail.com

2006-01-24, 7:58 am

I'm using via JNI a dummy DLL, not written from me, wich use a lot of
stack (more than 256k) and so the VM crash with "unrecoverable stack
overflow".

Apparently the -Xss option doesnt seem to work on WINDOWs. Any idea of
a workaround?

Marco B.
http://treepie.sf.net

Roedy Green

2006-01-24, 7:06 pm

On 24 Jan 2006 03:00:37 -0800, borgna.marco@gmail.com wrote, quoted or
indirectly quoted someone who said :

>
>Apparently the -Xss option doesnt seem to work on WINDOWs. Any idea of
>a workaround?


there are two options for controlling stack size
-Xoss300k and -Xss64k

Read up and experiment with them both.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com