<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Array Size Problem - Comments</title>
 <link>http://www.newlc.com/forum/array-size-problem</link>
 <description>Comments for &quot;Array Size Problem&quot;</description>
 <language>en</language>
<item>
 <title>Re: Array Size Problem</title>
 <link>http://www.newlc.com/forum/array-size-problem#comment-45242</link>
 <description>&lt;p&gt;1000*1000*4(size of TInt) = 4 MB &lt;br /&gt;
thats huge.....  for a small tiny phone..  plz dont do that... &lt;br /&gt;
i think below link might help you ..&lt;br /&gt;
&lt;a href=&quot;http://wiki.forum.nokia.com/index.php/Two_Dimensional_TInt_Array_in_Symbian&quot;&gt;http://wiki.forum.nokia.com/index.php/Two_Dimensional_TInt_Array_in_Symbian&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Sat, 22 Mar 2008 11:24:51 +0100</pubDate>
 <dc:creator>83.manish</dc:creator>
 <guid isPermaLink="false">comment 45242 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Array Size Problem</title>
 <link>http://www.newlc.com/forum/array-size-problem#comment-45239</link>
 <description>&lt;p&gt;You are most probably running out of memory when allocating an array that is a little bit under 4 MB. There might be more heap available on the device, but allocation might not fit to the maximum heap size defined for the process. You can change this by using EPOCHEAPSIZE keyword in the exe&#039;s mmp-file:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;EPOCHEAPSIZE 1048576 8388608&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Previous example would define minimum heap size of 1 MB and maximum 8 MB. I think by default the maximum heap size is 1 MB.&lt;/p&gt;</description>
 <pubDate>Fri, 21 Mar 2008 15:52:11 +0100</pubDate>
 <dc:creator>jari</dc:creator>
 <guid isPermaLink="false">comment 45239 at http://www.newlc.com</guid>
</item>
<item>
 <title>Array Size Problem</title>
 <link>http://www.newlc.com/forum/array-size-problem</link>
 <description>&lt;p&gt;Hi friends,&lt;/p&gt;

&lt;p&gt;I have a problem in creating a two dimensional array of size 1000 X 1000&lt;/p&gt;

&lt;p&gt;i.e &lt;code&gt;TInt Array1[1000][1000];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It works well in S60 2nd edition.&lt;/p&gt;

&lt;p&gt;But in S60 3rd edition the application gets closed when this line gets executed.&lt;/p&gt;

&lt;p&gt;I can able to declare array size of around [400][10] .etc.&lt;/p&gt;

&lt;p&gt;Even this size problem comes for single dimensional array.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/array-size-problem&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/array-size-problem#comments</comments>
 <category domain="http://www.newlc.com/forums/symbian-c">Symbian C++</category>
 <pubDate>Fri, 21 Mar 2008 13:13:49 +0100</pubDate>
 <dc:creator>r.madhusudanan</dc:creator>
 <guid isPermaLink="false">20545 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
