Yes bubba, I wouldn't go through all 1200 line of code either, but I would do a find for stuff like SDL_LoadSurface. Since the RAM is being eaten up so fast the code is probably loading too much stuff somehow. When you are only loading the first level from scratch its unlikely to be a problem with old stuff not being cleaned up correctly.