Mini2440 Program Memory Full WinCE6 C#

Devashish
Whenever I run my application written in Visual Studio 2005 on mini2440,
after a few hours, I get "Program memory full" Error, and there is a slider
to allocate program/data memory, which i does not move.
Same application runs fine on mini6410.
Both have WinCE6 image.(created in platform builder)
I am unable to find the cause. Can somebody help me out?