Hi Hawkblood.
I think you'll find that this is due to Windows doing its stuff. Although you may not be aware, Windows has a big list of things that it puts into memory. These range from your active program through to pointers to frequently used disk locations and right down to pointers to where it left its socks. (OK, I joke, but not very much).
The result is that all of your memory is actually in use (despite what Windows tells you officially). What can't be shoved into memory gets written to disk, which is very slow.
Your delays are caused by Windows reshuffling things and writing them to the disk cache as your program (and all of the other processes that are running) uses and releases blocks of memory.
Release mode requires a lot less memory than debug mode, of course.
If you're using Win7 or Vista, you can add a memory stick of course. Then some of this gets written to the memory stick instead of to the hard disk. That's a lot quicker. It can make start-up times 10-25% faster and it can reduce those lags to almost zero.
Otherwise, there's no real way around it without getting into very low-level programming.
But do make sure that you have as few processes running as possible, and that you start your programs after a fresh re-start of the PC. That's standard gaming advice, of course.
Amazing Simulation
www.amazing-forum.com