Game Engine acting up

So I have an (almost) finished game, but on a certain level, sometimes the screen goes gray for a second, especially when collisions are being calculated. Any ideas?