<?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>Unexplained large increase in RAM requirement when increasing existing characteristic length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39353/unexplained-large-increase-in-ram-requirement-when-increasing-existing-characteristic-length</link><description>I am wanting to increase the length of one of my characteristics used when my device is acting as a peripheral. When I increase the size of my characteristic, the softdevice requires a large amount of extra RAM (more RAM than I can spare) but if I remove</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Oct 2018 09:21:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39353/unexplained-large-increase-in-ram-requirement-when-increasing-existing-characteristic-length" /><item><title>RE: Unexplained large increase in RAM requirement when increasing existing characteristic length</title><link>https://devzone.nordicsemi.com/thread/152825?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 09:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2cb8547-0d98-4f0f-bbe1-7459d07a4a64</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The function &lt;em&gt;sd_ble_enable&lt;/em&gt;()/ &lt;em&gt;nrf_sdh_ble_enable&lt;/em&gt;() will tell you how much RAM is required to enable the SoftDevice with the current SD configuration. If you enable the SD, starts to add characteristic/services, and then get the error-code &amp;ldquo;&lt;/span&gt;NRF_ERROR_NO_MEM&amp;nbsp;&amp;ldquo;, then the SD configuration need to be changed. &lt;span&gt;I suspect that you might need to increase the Attribute Table size. (&lt;em&gt;NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE&lt;/em&gt; in sdk_config.h).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>