<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br>I&#39;ve seen that, in main/utils.c, threads are created with a stack size <br>limited to 240KBytes. Probably this is the reason why my asterisk
<br>application often crashes with a SIGSEGV... (yes, I&#39;m using large buffers).<br><br>So I&#39;m wondering what&#39;s the reason behind this limit and if it can be <br>changed without any side effect.</blockquote></div>
</blockquote>
<div>&nbsp;</div>
<div>I think it&#39;ll be hard to assess what the impact will be.&nbsp;Plus, you&nbsp;probably don&#39;t want to&nbsp;up the&nbsp;stack size&nbsp;for&nbsp;all the threads in the process. You&#39;re probably better off moving your large buffers to the heap area.&nbsp;&nbsp;&nbsp;
</div>
<div>&nbsp;</div>
<div>Raj</div></div>