PDA

View Full Version : Windows Page File onto Memory



tech_support
08-14-2006, 07:04 AM
Hey,

Anyone know how to force Windows to not use the page file when there's plenty of RAM free?

I have 760MB free Memory and Windows still uses the Page File!!


Thanks,

Peter

codeexploiter
08-24-2006, 05:42 AM
Hi,

Have you tried to clear your paging file when you shutdown your PC?

If you want to test that you can do it by editing the windows registry.

Steps

1. start registry editor

2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

3. Check for an item ClearPageFileAtShutdown

4. Modify its value to 1.

After editing it restart your machine for applying the changes that you've made now.

hope this will help

Regards

Code Exploiter

Twey
08-24-2006, 11:01 AM
Somewhere or other, probably in My Computer's properties, there's an option to set the page file size. If you've got sufficient memory to run everything you need to, you can safely set it to 0 (although you'll experience massive slowdowns if you exceed the RAM limit). I doubt that the use of the page file will have an effect on the speed of your system, though.

codeexploiter
08-24-2006, 11:23 AM
Hi

Twey mentioned the following settings in his postings:

1. Right-click on My Computer

2. Select Properties

3. Click on Advanced tab

4. Click on the first Settings button which is in the section Performance

5. Click on the Advanced tab

6. Click on Change button which is in the Virtual Memory section

7. In this dialog box you can change the page file size, you can use the size managed by the system or No Paging File.

If you want No Paging file then click on the No Paging File Radio button and click Set button.

8. Click 3 OK buttons to close all the dialog boxes you've opened.

But i think turning off paging file is not a good thing your system will become unstable frequently.

I found some interesting docs about the Virtual Memory and the paging files while checking this problem that are mentioned below:

1. http://www.petri.co.il/pagefile_optimization.htm

2. http://support.microsoft.com/kb/314482/en-us

3. http://www.overclock.net/faqs/12192-info-what-windows-paging-file.html

Hope this will help you to achieve your goals

Regards

Code Exploiter

mwinter
08-24-2006, 01:18 PM
Anyone know how to force Windows to not use the page file when there's plenty of RAM free?

Don't forget that just because there's plenty of "physical" memory free at the time you check doesn't mean that there wasn't a moment in the past that forced the memory manager to kick data out into virtual memory. If there is space, the data will be reloaded if and when it's needed.

If you're worried about the page file taking too much space, you can adjust the maximum size, but be careful or you'll just force thrashing.




3. Check for an item ClearPageFileAtShutdown

That is a security measure. It doesn't shrink the page file, but overwrites its contents so that any sensitive data that might have been swapped out is not readable from the file.



hope this will help

It won't.

Mike

tech_support
08-24-2006, 11:38 PM
Let's see...

Tried turning it off via registry - Doesn't work
Clearing - Can't be bothered because it clears!
Tried turning it off via System Properties - Doesn't work

Any more suggestions?