Giter VIP home page Giter VIP logo

Comments (6)

techgamers2 avatar techgamers2 commented on June 2, 2024

u can set to delete pagefile at every shutdown via registry
source: elevenforums

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001

from memreduct.

mrrezaie avatar mrrezaie commented on June 2, 2024

Thanks for your response. Yes, I had enabled this, but I was looking for a way to do that without system restart. Do you think that it is possible?

from memreduct.

techgamers2 avatar techgamers2 commented on June 2, 2024

maybe but i dont think so coz while the system is running pagefile is in use
( u can also disable page file completely if u hav large enough ram )

do u want to delete pagefile coz of privacy reason ? coz i dont think there will be performance benefit from deleting pagefile

from memreduct.

mrrezaie avatar mrrezaie commented on June 2, 2024

Thanks again, I see your points. I need it because I work with some python codes that consume too much RAM (and hence pagefile) but do not purge it after finishing/closing and it leads to system instability (perhaps memory leak issue of a particular module). I wonder if some workaround exists.

from memreduct.

Initial-heart-1 avatar Initial-heart-1 commented on June 2, 2024

Thanks again, I see your points. I need it because I work with some python codes that consume too much RAM (and hence pagefile) but do not purge it after finishing/closing and it leads to system instability (perhaps memory leak issue of a particular module). I wonder if some workaround exists.

Try to disable pagefiles only when you run out of hard disk space.

It looks like Windows manages size of pagefile automatically, so u don't need to worry about clearing it manually if u don't restart or shutdown your computer.
If ur running out of space, it's better to check for memory leaks than to try to clear pagefile.
Clearing pagefile is mainly done to protect your RAM data from malicious read out that could occur rather than to free up hardisk space. (If not how does WinServer run no-downtime?)
If ur having trouble preventing memory leaks, u might want to consider upgrading your hardisk or RAM.

from memreduct.

mrrezaie avatar mrrezaie commented on June 2, 2024

Fair enough, thanks for your response. I have 6GB RAM and HDD, so pagefile is essential.

Feel free to close this Issue if nothing can be done about it. Thanks again.

from memreduct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.