Symbian
Symbian OS Library

FAQ-1239 MEM-01:How can I test low memory startup of applications that launch other applications?

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Symbian Signed
Created: 03/18/2005 Modified: 03/21/2005
Number: FAQ-1239
Platform: Not Applicable

Question:
I have two inter-dependent applications that are delivered in the one SIS file. If one application is started, it automatically starts the other. How can I test these applications using the lowmem tool?

Answer:
Test both applications by running them separately from SymbianSigned TOOL2 (LowMem).
  • If both applications start the other, then start one in LowMem and run the test. Then shut down both apps and start the other one in Lowmem.
  • If only one of the applications starts the other (the starter), then test the non-starter in LowMem first. Then shut down both applications and test the starter.

What happens in this scenario is that the second application is launched in its own thread and process, which is outside the low-memory process created by LowMem. Therefore only the application selected in LowMem is actually being memory restricted, and you need therefore to test the applications separately.

As a side issue, the application that is started outside LowMem cannot be shut down by LowMem; you will need to do this manually.