Pocket PC Memory Leak

I have developed an application on pocket PC 2002, the problem is, when I used that application about one hour, it will be too slow, and then reset?!! I have tried the RxSales application and it made the same thing!!
Any one can give me any recommendation to avoid this memory leak and reset.

Hi Iyad,

I have a similiar problem with my application. After every search of the database 300kb of memory is used until the EVM console crashes.