Not sure? Just guessing at a possible solution here, but did you unselect all the debug options before you compiled it? By the way what program are you using to monitor the memory usage.