<?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>[Bug Report] Memery Manager Library XXLARGE Blocks doesn&amp;#39;t work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27392/bug-report-memery-manager-library-xxlarge-blocks-doesn-t-work</link><description>When I only used XXLARGE block, I got bellow error: 
 ..\..\..\..\..\..\components\libraries\mem_manager\mem_manager.c(484): error: #94-D: the size of an array must be greater than zero
 static uint32_t m_mem_pool[
LOCK_BITMAP_ARRAY_SIZE]; /**&amp;lt; Bitmap</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Nov 2017 11:22:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27392/bug-report-memery-manager-library-xxlarge-blocks-doesn-t-work" /><item><title>RE: [Bug Report] Memery Manager Library XXLARGE Blocks doesn't work</title><link>https://devzone.nordicsemi.com/thread/108178?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 11:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a114bb0-6316-4e36-9b36-0c3d6f01a964</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is indeed a bug.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**@brief Total count of block managed by the module. */
#define TOTAL_BLOCK_COUNT (MEMORY_MANAGER_XXSMALL_BLOCK_COUNT +                                     \
                           MEMORY_MANAGER_XSMALL_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_SMALL_BLOCK_COUNT   +                                     \
                           MEMORY_MANAGER_MEDIUM_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_LARGE_BLOCK_COUNT   +                                     \
                           MEMORY_MANAGER_XLARGE_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_XLARGE_BLOCK_COUNT)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Should have been:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**@brief Total count of block managed by the module. */
#define TOTAL_BLOCK_COUNT (MEMORY_MANAGER_XXSMALL_BLOCK_COUNT +                                     \
                           MEMORY_MANAGER_XSMALL_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_SMALL_BLOCK_COUNT   +                                     \
                           MEMORY_MANAGER_MEDIUM_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_LARGE_BLOCK_COUNT   +                                     \
                           MEMORY_MANAGER_XLARGE_BLOCK_COUNT  +                                     \
                           MEMORY_MANAGER_XXLARGE_BLOCK_COUNT)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I have created an internal bug report. Thanks for reporting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>