<?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>Region Ram Overflow with Stack(Compilation Error)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17381/region-ram-overflow-with-stack-compilation-error</link><description>I am working in a custom board which is having nrf1822 chip and I am using Softdevice s130 2.0.1 , SDK 11.0.0, RAM available is 16Kb where soft device uses 5kb of RAM,heap size is 2048 bytes and remaining is 9kb. I am trying to declare a buffer(4kb) globally</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 05 Nov 2016 07:21:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17381/region-ram-overflow-with-stack-compilation-error" /><item><title>RE: Region Ram Overflow with Stack(Compilation Error)</title><link>https://devzone.nordicsemi.com/thread/66827?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2016 07:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb4a9559-46f4-45b2-a078-e64322605dd8</guid><dc:creator>Rahul Sahu</dc:creator><description>&lt;p&gt;Thanks Kristin I will check it and let u know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Region Ram Overflow with Stack(Compilation Error)</title><link>https://devzone.nordicsemi.com/thread/66826?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 14:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9508af9f-8bb3-44f7-a949-8e35a76328a2</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;As @Keton says, what does your .map file look like? In Keil, you can open the .map file by double clicking on the project folder structure &amp;quot;nrf51422_xxac_s130&amp;quot; (for example) or locate the file in the build folder.&lt;/p&gt;
&lt;p&gt;Also, which optimization level do you use? Use the highest optimization level as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Region Ram Overflow with Stack(Compilation Error)</title><link>https://devzone.nordicsemi.com/thread/66825?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 12:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc19c51-656c-449c-897f-4956d2a2e3a9</guid><dc:creator>Rahul Sahu</dc:creator><description>&lt;p&gt;Thanks Keton for response,
But I didn&amp;#39;t get what u said.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Region Ram Overflow with Stack(Compilation Error)</title><link>https://devzone.nordicsemi.com/thread/66824?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 18:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cfb0358-470f-4dd2-823b-19f29e7cc782</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;Assuming that your project setup is ok this means that static memory allocation exceeds available free space. You can find memory usage of each symbol by examining .map file. If you by any chance use nrf_log module with RTT it declares 1kb internal buffer so it looks like a good candidate to be cut out. Out of curiosity why you need so much RAM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>