I have a function which is executed after every 1 minute. It uses MAPI control
to check for the Mails in the Inbox with a specific subject. The function
is working fine. But what happens is after two days the system gives me an
error stating "Low in System Resources" Close som application.

The size of my application EXE increases whenever the function is invoked
after every 1 minute.

Could u please guide me as to how to overcome the same.

Should i have to use any APIs.

Thank u