I am currently writing a game in Microsoft Visual C++ 6 using SDL 184.108.40.206, but I have a problem. When the game starts, it takes up all my available ram (About 200Mb). This is not too much of a problem though. The real problem is that it then starts using virtual memory. I have about 1.1Gb of Virtual memory, and initially it uses only a couple of megs. Then it slowly uses more and more. After about two minutes, it is using 1Gb. Then soon after, when all the ram is used, it crashes.