<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Peer Manager, FDS, gc question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58380/peer-manager-fds-gc-question</link><description>When and by what logic Peer Manager performs garbage collection on FDS? 
 I have a single number stored also in FDS and I’m wondering if gc performed by Peer Manager will be enough to gc for me or I have to take care for the garbage that updating my simple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2020 09:32:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58380/peer-manager-fds-gc-question" /><item><title>RE: Peer Manager, FDS, gc question</title><link>https://devzone.nordicsemi.com/thread/237967?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 09:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36fda4a7-0c8f-4c97-bbba-93e60e7a8a42</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can call&amp;nbsp;&amp;nbsp;&lt;a title="pm_handler_flash_clean" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__pm__handler.html?cp=7_1_6_2_16_2_2#ga143031c4ec929f76d406f5c7c40dcb8a"&gt;pm_handler_flash_clean&lt;/a&gt;() from your PM event handler to make the PM perform GC when needed (it waits until it&amp;#39;s full). The problem is that FDS may become full when you store your user data even if it happens infrequently.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer Manager, FDS, gc question</title><link>https://devzone.nordicsemi.com/thread/237792?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 13:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e5d3912-145f-4fb8-9151-aba02ce82813</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Vidor, could you provide some information when Peer Manager&amp;nbsp; checks and how decide that need/don&amp;#39;t need to perform garbage collection and when initiate it (immediately or by certain conditions later)?&lt;/p&gt;
&lt;p&gt;Because I have very&amp;nbsp; small amount of data (compared to what PManager use) saved in FDS and my wild guess is that if PM initiate garbage collection not when FDS is completely full, but at certain threshold,&amp;nbsp; that could be enough to do and the job of lazy me ;) ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer Manager, FDS, gc question</title><link>https://devzone.nordicsemi.com/thread/237082?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 10:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717055ab-4fe6-48d4-a312-e2000e9d08a5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is only one instance of the FDS filesystem, so when you run GC it will clean up data records from all users of FDS.&amp;nbsp; You may handle GC in your application code to ensure that it&amp;#39;s run ahead of time before the filesystem gets completely full. Use the FDS stat function to get information about current flash usage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>