Beware of the value of STAMBIA_STACK_SIZE parameter. The value is higher in initvariables.sh than in initvariables.bat.
So, it's better to use the value for Windows operating system :
Increase this value if your process handles very large XML file for example. But if you keep it to 2M under Unix based operating system, you will reach sooner the limit of the Runtime's memory. Especially, if you have a lot of sessions - like Webservices calls for example.
Last edit: 24 Nov 2014 09:10 by Nicolas Verscheure.
Indeed, with a high stack size, the memory allocated to each thread will be higher. Thus the number of threads is limited.
It is preferable to avoid increasing this parameter.
We opened bug#1443 in order to set STAMBIA_STACK_SIZE to 256k in initvariables.sh, in order to reflect initvariables.bat.
The fix will appear in the CHANGELOG when it is fixed.