Welcome Guest! Log in

Topic-icon Merged Correction of STAMBIA_STACK_SIZE parameter

  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
More
11 Nov 2014 10:08 - 24 Nov 2014 09:10 #1 by Nicolas Verscheure
Correction of STAMBIA_STACK_SIZE parameter was created by Nicolas Verscheure
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 :

STAMBIA_STACK_SIZE=256k

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.

Please Log in or Create an account to join the conversation.

More
13 Nov 2014 16:17 #2 by Thomas BLETON
Replied by Thomas BLETON on topic Correction of STAMBIA_STACK_SIZE parameter
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.

Thanks :)

Please Log in or Create an account to join the conversation.

  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
More
14 Jan 2015 15:28 #3 by Nicolas Verscheure
Replied by Nicolas Verscheure on topic Correction of STAMBIA_STACK_SIZE parameter
Corrected in version s17.2.11 :


Attachments:

Please Log in or Create an account to join the conversation.