Windows never did use memory very well. Simple things like a screensaver running for an hour or so will use up all a computer's memory. Computer peeps call this a memory leak.
There isn't any way to repair a memory leak apart from installing a different OS. Rebooting will fix your problem for a little while. You can also get a third party memory manager but those in my experience use up memory to make a smaller portion of memory work better.
If your program is indeed a memory hog...you can open the task manager and sort the processes by memory useage. This will give you an indication of how much memory your app is using. If your app is using more than half of your 512MB you should seriously think about add more RAM...commonly called throwing memory at the problem or as IBM is advertising now throwing money at it.
You might also want to increase the size of your page file as well. The optimum size of a page file has spawned more tech talk arguements than I'd care to mention. I'd say %130 to %175 but you can set the size of your page file as high or low as you like. Keep in mind that access times on a hard drive are 1000 times slower than RAM. For 512 MB of memory 750MB page file would be suitable. To get to virtual memory settings...go to the control panel and select the system icon. On the performance tab you will see a virtual memory button. Put the sizes in and click set. I typically set the sizes the same.
That's the cliff notes version of memory management. Hope this helps your issue.
I get into a cold sweat when my Windows XP sends me the message: Low Video memory". I don't know what to do next. I thought with 512 Ram, and a 100gig hard disk, where is my memeory lacking?
What can I do to prevent this?