Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

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
Nicolas Verscheure created the topic: Correction of STAMBIA_STACK_SIZE parameter
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.
More
13 Nov 2014 16:17 #2 by Thomas BLETON
Thomas BLETON replied the 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 :)
  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
More
14 Jan 2015 15:28 #3 by Nicolas Verscheure
Nicolas Verscheure replied the topic: Correction of STAMBIA_STACK_SIZE parameter
Corrected in version s17.2.11 :


Attachments: