<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MEMORY ALLOCATION RTX</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/22778/memory-allocation-rtx</link><description> 
Dear All, 

 
I have need mor informations on RTX memory allocation. 

 
I have created a task with this memory allocation 

 
char str[400]; 
memset( &amp;amp;str, 0x0, size(str) ); 

 
I have this configuration on RTX_Config.c 

 
OS_STKSIZE 50 //200Byte</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: MEMORY ALLOCATION RTX</title><link>https://community.arm.com/thread/52256?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2008 08:39:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1f4758ed-d30c-44c1-bf73-247ca0e139af</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I don&amp;#39;t understand what you mean with &amp;quot;a block application&amp;quot;.&lt;/p&gt;

&lt;p&gt;
Your variable char str[400];&lt;br /&gt;
seems to be a global variable. No memory allocation involved, so no
memory allocation that can fail.&lt;/p&gt;

&lt;p&gt;
From comments in RTX_Config.c:&lt;/p&gt;

&lt;pre&gt;
//   &amp;lt;o&amp;gt;Number of tasks with user-provided stack &amp;lt;0-250&amp;gt;
//   &lt;i&gt; Define the number of tasks that will use a bigger stack.
//   &lt;/i&gt; The memory space for the stack is provided by the user.
//   &lt;i&gt; Default: 0
&lt;/i&gt;
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>