<?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>nRF54LM20 MbedTLS Heap Exhaustion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126631/nrf54lm20-mbedtls-heap-exhaustion</link><description>Issue 
 On the nrf54lm20 using DTLS with MbedTLS, MbedTLS&amp;#39;s heap can be exhausted. This will result in a TLS handshake error. When this issue happens MbedTLS does not catch the heap exhaustion, it will just fail to complete the TLS handshake. Errors </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jan 2026 10:01:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126631/nrf54lm20-mbedtls-heap-exhaustion" /><item><title>RE: nRF54LM20 MbedTLS Heap Exhaustion</title><link>https://devzone.nordicsemi.com/thread/559334?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 10:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e95471f-a62b-4cbb-9c20-21fd076e7502</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;You should be able to get more information from the sample by using a console or terminal output and setting&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_DEBUG_C=y&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;CONFIG_MBEDTLS_MEMORY_DEBUG=y&lt;/code&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the logs you can look for i.e. allocation issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20 MbedTLS Heap Exhaustion</title><link>https://devzone.nordicsemi.com/thread/559328?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 08:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f25b4b7-4520-4215-a61c-9ec33a8aa079</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for contacting us about this. I have forwarded this internally and I will share feedback I get with you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20 MbedTLS Heap Exhaustion</title><link>https://devzone.nordicsemi.com/thread/559323?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 03:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:917f9beb-9345-4650-9a3b-802a769a44be</guid><dc:creator>ashlin4010</dc:creator><description>&lt;p&gt;I made an error. G&lt;span&gt;olioth is setting&amp;nbsp;&lt;code&gt;CONFIG_MBEDTLS_HEAP_SIZE=10240,&amp;nbsp;&lt;/code&gt;&lt;/span&gt;a value of&amp;nbsp;&lt;em&gt;49152&lt;/em&gt; is&amp;nbsp;sufficient to avoid the TLS errors.&lt;/p&gt;
&lt;p&gt;Regardless, should MbedTLS detect heap exhaustion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>