Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is the oddest thing I've ever had on a OS. I run several programs that uses up to 1 gb ram. But if i minimize the program the ram useage of it decreases too 100 mb! It means i lost 900 mb ram just disapeared where did it go? How can i keep the memory where it is?

On my own laptop the program is running fine without losing ram.

Also the program doesn't crash right after but after a few days(it won't find what it needs in the memory) with is kinda odd...

This is literly a Memory leak.(it just misses ram)

I hope someone can help me on this !

share|improve this question

This is actually a known feature of Windows XP/2003. I'm not sure if Windows 7/2008/R2 retained this behavior.

The working set of an application is trimmed when its top-level window is minimized

share|improve this answer

Your program is not "missing" any RAM. Operation systems use a process called "paging" to outsource the content of your RAM that is not needed right now to the hard disk --> page file.

When the data is needed again it is located on the harddisk and loaded into RAM again.

Now, when you minimize a program, much of the resources won't be needed right now, as there is nothing to display while it's minimized. Windows therefore writes the content to the page file to free up memory that may be used by other programs.

share|improve this answer
Also, just for clarification: A memory leak would mean that a program allocates memory but doesn't release it later. So in the course of runtime the program would consume more and more memory instead of less as you think it to be. Wikipedia provides a very good pseudocode example on that. – LumenAlbum Mar 3 '12 at 12:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.