<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[BLE STOP WORKING -Memory problem!? Do I have to clear memory...?]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1408/free-memory-issues">Free memory issues ?</a></p>
<p dir="auto">BLE advertising packets and printing them to the console. Nothing clever. After a few minutes or a few hours it would crash. It was somewhat random.</p>
]]></description><link>https://forum.pycom.io/topic/2747/ble-stop-working-memory-problem-do-i-have-to-clear-memory</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 19:52:17 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2747.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Mar 2018 08:53:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BLE STOP WORKING -Memory problem!? Do I have to clear memory...? on Thu, 01 Mar 2018 08:53:01 GMT]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1408/free-memory-issues">Free memory issues ?</a></p>
<p dir="auto">BLE advertising packets and printing them to the console. Nothing clever. After a few minutes or a few hours it would crash. It was somewhat random.</p>
]]></description><link>https://forum.pycom.io/post/16501</link><guid isPermaLink="true">https://forum.pycom.io/post/16501</guid><dc:creator><![CDATA[stefan85e]]></dc:creator><pubDate>Thu, 01 Mar 2018 08:53:01 GMT</pubDate></item><item><title><![CDATA[Reply to BLE STOP WORKING -Memory problem!? Do I have to clear memory...? on Thu, 01 Mar 2018 09:00:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2261">@stefan85e</a> When crashing, do you get a specific error message?</p>
<p dir="auto">If your code has something like a main loop, it may help to add:<br />
<code>gc.collect()</code><br />
for instance before you start waiting for a new message from BLE.<br />
Of yourse, you have to 'import gc' somewhere before in your code.</p>
]]></description><link>https://forum.pycom.io/post/16502</link><guid isPermaLink="true">https://forum.pycom.io/post/16502</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Thu, 01 Mar 2018 09:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to BLE STOP WORKING -Memory problem!? Do I have to clear memory...? on Thu, 01 Mar 2018 09:40:07 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1519896848007-fungera-ej-resized.jpg" alt="0_1519896848348_Fungera ej.JPG" class="img-responsive img-markdown" /></p>
<p dir="auto">This is what it look like yesterday...</p>
<p dir="auto"><a href="https://docs.pycom.io/chapter/firmwareapi/micropython/gc.html" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/chapter/firmwareapi/micropython/gc.html</a> that might be good to use!?</p>
]]></description><link>https://forum.pycom.io/post/16503</link><guid isPermaLink="true">https://forum.pycom.io/post/16503</guid><dc:creator><![CDATA[stefan85e]]></dc:creator><pubDate>Thu, 01 Mar 2018 09:40:07 GMT</pubDate></item><item><title><![CDATA[Reply to BLE STOP WORKING -Memory problem!? Do I have to clear memory...? on Thu, 01 Mar 2018 10:20:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2261">@stefan85e</a> That does not show much more than the reboot messages. Since your scripts prints messages, it would be interesting to see the time frame after printing your script's messages and the reboot print-outs. If Atom cannot do that, use a simple terminal emulator like Putty on Windows. The allow to write logs into a file.</p>
]]></description><link>https://forum.pycom.io/post/16514</link><guid isPermaLink="true">https://forum.pycom.io/post/16514</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Thu, 01 Mar 2018 10:20:29 GMT</pubDate></item></channel></rss>