Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

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.
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 :)
  • 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: