<?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>MQX Software Solutions中的主题 Re: Out of Memory with MFS</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164063#M1471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naftalir,&lt;/P&gt;&lt;P&gt;Ok...that spurs my memory that when doing a fclose() there needed to be a _time_delay() (or other blocking) to allow the MFS and other drivers to sync up properly.&amp;nbsp;&amp;nbsp; Your solution of using RAM then writing back OK too.&lt;/P&gt;&lt;P&gt;How often were you opening/closing file?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 14:47:45 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2012-11-12T14:47:45Z</dc:date>
    <item>
      <title>Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164059#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently get Out of memory and Stack Overflow messages after writing ~50 Files (5MB each) with WRITE_THROUGH, both for MFS and FAT Writing policy.&lt;/P&gt;&lt;P&gt;prior to this error, which get my system to stuck, there is another message in the Debug Log: "Read request from 0x674E17E3 canceled. Area overlaps with uninitialized FlexBus area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 07:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164059#M1467</guid>
      <dc:creator>naftalir</dc:creator>
      <dc:date>2012-11-05T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164060#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few important notes about my project:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Im using Sandisk Micro SD-Card, SDHC 16GB, Class10&lt;/LI&gt;&lt;LI&gt;64K Allocation Unit&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 07:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164060#M1468</guid>
      <dc:creator>naftalir</dc:creator>
      <dc:date>2012-11-05T07:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164061#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naftalir,&lt;/P&gt;&lt;P&gt;The only adive I can suggest trying is to either increase your task stack size or monitor it to see if it overflows.&lt;/P&gt;&lt;P&gt;If you have TAD (task aware debugging) then halt and look at the heap to see if there is a memory leak and to check stack overflow.&lt;/P&gt;&lt;P&gt;If you do not have TAD, then you can periodically call:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;void &lt;STRONG&gt;_tad_lightweight_memory_blocks(void)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;void &lt;STRONG&gt;_tad_stack_usage(void)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Both in the PSP-&amp;gt;PSP Generic-&amp;gt;tad-&amp;gt;tad.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;David &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 17:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164061#M1469</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2012-11-08T17:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164062#M1470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well thank you.&lt;/P&gt;&lt;P&gt;it seems that the problem caused by accessing files on sd too frequently using the fopen() and fclose().&lt;/P&gt;&lt;P&gt;solved after loading the file into memory and then writing back to sd, writing only before removal of the sd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2012 07:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164062#M1470</guid>
      <dc:creator>naftalir</dc:creator>
      <dc:date>2012-11-11T07:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164063#M1471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naftalir,&lt;/P&gt;&lt;P&gt;Ok...that spurs my memory that when doing a fclose() there needed to be a _time_delay() (or other blocking) to allow the MFS and other drivers to sync up properly.&amp;nbsp;&amp;nbsp; Your solution of using RAM then writing back OK too.&lt;/P&gt;&lt;P&gt;How often were you opening/closing file?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 14:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164063#M1471</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2012-11-12T14:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory with MFS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164064#M1472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your information :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 08:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Out-of-Memory-with-MFS/m-p/164064#M1472</guid>
      <dc:creator>naftalir</dc:creator>
      <dc:date>2012-11-14T08:29:24Z</dc:date>
    </item>
  </channel>
</rss>

