<?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 - LowMem: a low memory stress tool. - Comments</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html</link>
 <description>Comments for &quot;LowMem: a low memory stress tool.&quot;</description>
 <language>en</language>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2070</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;There is currently no low mem stress test for the 3rd edition out yet... but looking at https://www.symbiansigned.com/app/page/dev/tooldownload?show=6, see TOOL8 - Automated Test Tool for pre-v9 and v9 which includes the low-memory stress test amongst other things.&lt;/div&gt;</description>
 <pubDate>Tue, 19 Dec 2006 21:12:27 +0100</pubDate>
 <dc:creator>euroq</dc:creator>
 <guid isPermaLink="false">comment 2070 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2069</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;hi folks,&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I downloaded the .SIS for low mem tool but some how I am not able to install that on my deivice. I have Nokia E63 device which is S60 V3.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Can anybody help ?&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Sun, 20 Aug 2006 02:51:56 +0200</pubDate>
 <dc:creator>ck</dc:creator>
 <guid isPermaLink="false">comment 2069 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2068</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;What we really need is a low stress memory tool. ;-)&lt;/div&gt;</description>
 <pubDate>Thu, 09 Mar 2006 23:34:07 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 2068 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2067</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;See this forum nokia article for explanation of symbian leak detection macros.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;:-)&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 20 Sep 2005 01:52:10 +0200</pubDate>
 <dc:creator>MiniVan</dc:creator>
 <guid isPermaLink="false">comment 2067 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2066</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;You need to do some proper memory failing testing using UHEAP_FAIL and other macros. These macros cause the the new(ELeave) method to fail deterministic way so you can find areas that will cause memeory leaks.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;You can find a quality descritpion of this practice in Symbian OS Explained.&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Sun, 18 Sep 2005 22:37:19 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 2066 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2061</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;Hi Eric,&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I am very new to LowMem tool. The question that I have is the following. The SimpleApp that is installed together with the LowMem, fails the test with 59% Test Failures. This happens when I do the test without changing any of the LowMem Settings. I run the
test on Nokia 7610 (S60) device. I realized, by doing the test that SimpleApp requires around 32K of memory. When I set this
number to Min heap free setting of LowMem, then SimpleApp succeeds the test with 0% failures.
My question was whether I am allowed to change these settings in order to &quot;make&quot; the application pass the test. According to LowMem
User Guide (issued 1.6), on paragraph &quot;16 Quick Guide to running a test&quot;, there is a step &quot;Restore factory settings via the menu option&quot;. Also, on &quot;13 FAQ&quot;, on question &quot;2. Do I need to change the settings before running a test&quot;? the answer is &quot;No. You should
not change the settings unless for debugging or recommencing a test.&quot;.
What am I doing wrong and, with the factory settings, the SimpleApp fails the test?
At your article, you say that I have to actually change the setting of Min heap free to the value that the application that I am testing
requires. Is this what I understand correct? Why the Symbian guidelines don&#039;t put the value to 1MB (LMD) and the factory setting is
1K? I would expect 1MB since this is the maximum heap size that all the Symbian Signed applications should use for start up.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Looking forward to receiving your answer.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Thanks
Panayotis&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 02 May 2005 08:03:32 +0200</pubDate>
 <dc:creator>Panayotis</dc:creator>
 <guid isPermaLink="false">comment 2061 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2065</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;OK, this is all good information.  But it&#039;s still not clear how to debug these failures.  How can we do this under the emulator?&lt;/div&gt;</description>
 <pubDate>Fri, 21 Jan 2005 19:09:01 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 2065 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2064</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;I would not recommend the EPOCHEAPSIZE method.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;First of all, the Symbian documentation is (as often) a bit vague on this statement, but EPOCHEAPSIZE does not apply on GUI applications which are just polymorphic DLLs loaded from the GUI launcher process. EPOCHEAPSIZE only applies to executables. So if you create your own server application or some kind of engine, you can use this statement to control the size of your heap.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Secondly, if you use this statement (for an executable) to make sure that you will always have enough memory, you will most of the time reserve more memory than you actually need. Which is bad, if you broaden your perspectives and look at the complete system.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Thirdly, if you change your source code you need to remember to update the minimum heap size number in EPOCHEAPSIZE accordingly. If you do not properly take care of memory failures, you need to take into considerations all possible functions that can allocate memory. Do you possibly load any polymorphic DLLs? Do you always know how much heap these DLLs need?&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I think you better make sure that all memory failures are taken care of properly,instead! And for this purpose LowMem is a good tool to use on your GUI applications.&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 10 Jan 2005 16:45:12 +0100</pubDate>
 <dc:creator>El Morfeo</dc:creator>
 <guid isPermaLink="false">comment 2064 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2063</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;I dont believe the LowMem test tool takes any notice whatsoever of the settings, LowMem is doing something completely different compared to a normal process load by the Symbian OS. The real OS does take notice of this.&lt;/div&gt;</description>
 <pubDate>Tue, 21 Dec 2004 11:26:23 +0100</pubDate>
 <dc:creator>bbj</dc:creator>
 <guid isPermaLink="false">comment 2063 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2072</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;I tried the EPOCHEAPSIZE but doesn&#039;t work...I simply added a line &quot;EPOCHEAPSIZE 50000 1000000&quot; into the MMP file, the application still fails same times (The test ends at around 30k heapsize). Did I make something wrong?&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;More importantly, what kinds of exception handling are needed to make an application &quot;really&quot; meeting the 10% target? I mean, what the Symbian Signed guys really want developers to do? It seems that an application generated by the S60 SDK appwizard still fails more than 50%...&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 17 Dec 2004 19:12:20 +0100</pubDate>
 <dc:creator>D.Y.</dc:creator>
 <guid isPermaLink="false">comment 2072 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2071</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;A much simpler plan, which even Symbian themselves dont really seem to understand anymore, is to use the EPOCHEAPSIZE directive in your MMP file.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;By defn the OS is not allowed to run the app unless the min heap size can be granted to your app. You can therefore tweek the min size you specify (e.g. from the results from the LowMem test tool) such that your app cannot run out of  memory on start up. Agreed the SDK docs are a bit vague on this, however one reason for the existance of the lower bound is that the is no point launching an app if its going to fail on OOM at any stage though its startup phases (whether it crashes or not is irrelevant to the end result - the app is not running).&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Whether any of the Symbian Signed testers understand this I cant tell you - i.e. they may well simply run your app with LowMem test tool blindly ignoring the EPOCHEAPSIZE statement.&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;You do need to be sensible using this, your heap size will not go below the min you define, thus if on startup you alloc + load lots of things that are not required for the rest of the app then you will reserve memory from the system that no other app can use. E.g. blindly setting to say 1MB just so app guarenteed to start  means you will take a min of 1MB regardless of whether you only need 10K - i.e. the OS wont garbage collect the 990K cos you told it you needed a min of 1MB to work...&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 17 Dec 2004 12:16:13 +0100</pubDate>
 <dc:creator>BBJ</dc:creator>
 <guid isPermaLink="false">comment 2071 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2062</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;OK, I&#039;ve found the answer:
Memory leak is not a test requirement for Symbian Signed!&lt;/div&gt;</description>
 <pubDate>Thu, 16 Dec 2004 19:47:36 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 2062 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comment-2060</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;I&#039;ve tested my application, here are the results:
Test Failed (%): 0
Mem leak: 1&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Do I have to be worried by the value of memory leak? I think that it&#039;s not easy to find (probably) one line in the code that in low memory situations may leak (in normal situations everything works fine). How to &#039;simulate&#039; it in emulator?&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 16 Dec 2004 16:23:11 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 2060 at http://www.newlc.com</guid>
</item>
<item>
 <title>LowMem: a low memory stress tool.</title>
 <link>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;The LowMem tool is a free test tool developed by Symbian for use during Symbian Signed testing. The tool aims to verify an application&#039;s handling of the Low Memory Condition during start-up. Handling of Low Memory situations has been the number one cause for failure in Symbian Signed...&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/LowMem-a-low-memory-stress-tool.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/LowMem-a-low-memory-stress-tool.html#comments</comments>
 <category domain="http://www.newlc.com/taxonomy/term/17">Mobile Tools</category>
 <category domain="http://www.newlc.com/taxonomy/term/125">Error Management</category>
 <category domain="http://www.newlc.com/taxonomy/term/137">Memory Management</category>
 <category domain="http://www.newlc.com/taxonomy/term/143">Symbian Signed</category>
 <pubDate>Tue, 14 Dec 2004 14:57:28 +0100</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">495 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
