https://software.intel.com/it-it/forums/topic/497447/feed?language=ru
it>>> Assume you have 32-bithttps://software.intel.com/it-it/comment/1777427?language=ru#comment-1777427
<a id="comment-1777427"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>&gt;&gt;&gt; Assume you have 32-bit application and you specify 1GB of stack in the link line. Threads your app creates default to this size.&gt;&gt;&gt;</p>
<p>IIRC each newly created thread will have overridden its default stack size so virtual memory allocated to this specific process will run out.</p>
</div></div></div>Tue, 21 Jan 2014 08:15:06 +0000iliyapolakcomment 1777427 at https://software.intel.comWhen your app is 32-bit andhttps://software.intel.com/it-it/comment/1777426?language=ru#comment-1777426
<a id="comment-1777426"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>When your app is 32-bit and it is running inside WoW container process it can use up to 4GB of address space.</p>
</div></div></div>Tue, 21 Jan 2014 08:11:08 +0000iliyapolakcomment 1777426 at https://software.intel.comQuote:iliyapolak wrote:https://software.intel.com/it-it/comment/1777413?language=ru#comment-1777413
<a id="comment-1777413"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><strong class="quote-header">Quote:</strong><blockquote class="quote-msg quote-nest-1 odd"><div class="quote-author"><em class="placeholder">iliyapolak</em> wrote:</div></p>
<p>Can you insert the call to GetLastError function?</p>
<p></blockquote></p>
<p>the library puts the result of GetLastError </p>
<p>OMP: System error #8: Not enough storage is available to process this command.</p>
</div></div></div>Tue, 21 Jan 2014 04:54:40 +0000mad\vpolincomment 1777413 at https://software.intel.comA common mistake is to linkhttps://software.intel.com/it-it/comment/1775261?language=ru#comment-1775261
<a id="comment-1775261"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>A common mistake is to link your program specifying "unlimited stack" or some unwieldy large stack size. It does not make sense to make such a request for multi-threaded programs. Assume you have 32-bit application and you specify 1GB of stack in the link line. Threads your app creates default to this size. Your application will run out of memory (run out of virtual address space). For 32-bit app, your working space for the app is either 2GB or 3GB (leaving 2GB or 1GB for the O/S).</p>
<p>Assuming you are running 64-bit app, While you will not run out of virtual address space, you may run out of swap file space. The corrective measure is to reduce the stack size and rely more on allocation from the heap. This will reduce the per-thread memory requirements.</p>
<p>Jim Dempsey</p>
</div></div></div>Sun, 22 Dec 2013 04:43:16 +0000JimDempseyAtTheCovecomment 1775261 at https://software.intel.comCan you insert the call tohttps://software.intel.com/it-it/comment/1774997?language=ru#comment-1774997
<a id="comment-1774997"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Can you insert the call to GetLastError function?</p>
</div></div></div>Wed, 18 Dec 2013 19:33:59 +0000iliyapolakcomment 1774997 at https://software.intel.comAre you building for 32-bithttps://software.intel.com/it-it/comment/1774980?language=ru#comment-1774980
<a id="comment-1774980"></a>
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Are you building for 32-bit mode? I suppose it can be difficult to use 8 cores if you inadvertently use that mode.</p>
<p>Did you try allowing more stack?</p>
<p>Did you note prior posts on this subject? Please tell us if you can rule out or follow any of the suggestions there (too many to repeat here).</p>
</div></div></div>Wed, 18 Dec 2013 17:52:00 +0000tim18comment 1774980 at https://software.intel.com