<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: K70F120 - RTCS appears to consume all memory in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478901#M15745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the value in the MQX_INITIALIZATION_STRUCT in mqx_init.c&amp;nbsp; It has a member MAX_MSGPOOLS that was defaulted to 2 in my BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 18:45:51 GMT</pubDate>
    <dc:creator>regisgeorge</dc:creator>
    <dc:date>2016-02-03T18:45:51Z</dc:date>
    <item>
      <title>K70F120 - RTCS appears to consume all memory</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478897#M15741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a small C++ prototype app up and running on TWR-K70F120 using MQX 4.2.&amp;nbsp; It uses two message queues.&amp;nbsp; Everything works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added RTCS.&amp;nbsp; I can&amp;nbsp; RTCS_create() and ipcfg_init_device() and they return without error.&amp;nbsp; I then get failures on subsequent _msgpool_create().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming there's sufficient RAM, just not configured properly.&amp;nbsp; Haven't yet found anything in the documentation yet that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478897#M15741</guid>
      <dc:creator>regisgeorge</dc:creator>
      <dc:date>2016-02-01T15:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: K70F120 - RTCS appears to consume all memory</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478898#M15742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Regis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check in the Task Aware Debugger (TAD - which is under menu MQX when you are in debug mode) the stack usage of the tasks. If TCP/IP task is running out of memory then you can modify the variable below before calling RTCS_create().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_RTCSTASK_stacksize = 4500;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not the case please attach an image of the task summary or task list (depending if you use CW or KDS respectively) and stack usage window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 00:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478898#M15742</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-02-03T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: K70F120 - RTCS appears to consume all memory</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478899#M15743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Carlos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The stacks were fine.&amp;nbsp; I had to do some digging in the BSP config files it seemed odd to be out of memory.&amp;nbsp; I found that only 2 message pools were allocated by default (though there were significantly more message queues).&amp;nbsp; I guess that RTCS uses a message pool and that was what got me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to get the the stack initialized successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 17:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478899#M15743</guid>
      <dc:creator>regisgeorge</dc:creator>
      <dc:date>2016-02-03T17:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: K70F120 - RTCS appears to consume all memory</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478900#M15744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your comments Regis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know how did you solved this, but you can easily reconfigure the number of message tools setting a value in variable &lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;RTCS_msgpool_init before calling RTCS_create().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;E.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt;RTCS_msgpool_init&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: Calibri; color: black;"&gt; = 6;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: Calibri;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: Calibri;"&gt;Carlos&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 18:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478900#M15744</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-02-03T18:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: K70F120 - RTCS appears to consume all memory</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478901#M15745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the value in the MQX_INITIALIZATION_STRUCT in mqx_init.c&amp;nbsp; It has a member MAX_MSGPOOLS that was defaulted to 2 in my BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 18:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70F120-RTCS-appears-to-consume-all-memory/m-p/478901#M15745</guid>
      <dc:creator>regisgeorge</dc:creator>
      <dc:date>2016-02-03T18:45:51Z</dc:date>
    </item>
  </channel>
</rss>

