All basic Symbian OS related errors and also API related errors cause a leave in the interface code. For example, an out of memory situation causes a leave.
IM Application Launch API does not consume memory significantly after creating the object. The plug-in is installed in RAM and the memory consumption depends on the implementation.