Share via

Clear RAM without restarting Windows10

Anonymous
2020-06-11T14:04:42+00:00

I am running x64Windows10 on my system. I work on several programs and files at a time.

I do not shutdown my laptop so that I do not loose any open tabs and programs. I just let it sleep.

But after few days my machine becomes sluggish.

I feel this is because RAM is full.

Now if I shutdown I will loose the programs, folders where I am working and after shutdown I have to open all programs to the state where I left.

Is there an option around this without shutting down or to save my session?

Thanks.

Windows for home | Windows 10 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2020-06-11T14:39:40+00:00

    Hello Swastik

    I am Louie, a Microsoft Community member and a fellow Windows 10 user like you. I hope I can help you on your concern.

    To clear the RAM without rebooting your PC, please try this:

    Steps:

    1. Open "Notepad"
    2. Enter the following command:
    3. FreeMem = Space(100000000)

    In this example, you will release 100MB of RAM.

    1. Save this file with the ".VBS" format.
    2. Open again "Notepad"
    3. Enter the following command:
    4. Mystring = (80000000)
    5. Save this file with the ".VBS" format.
    6. Double click each of the two vbs file.

    Please let me know if you need more help.

    Sincerely,

    Louie

    80+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-06-11T14:29:49+00:00

    ... after few days my machine becomes sluggish.

    I feel this is because RAM is full.

     May I please give you some unsolicited advice, from my own (bad) experience?

    You mustn't make decisions because of something you feel is wrong. Not where a computer is concerned. You have to know what's wrong.

    Otherwise, you could be making changes to your computer that will, at best, waste your time or, at worst, cause you trouble in the future.

    I can't tell you how many people post here saying they did this or that to their computers because they decided it was needed to solve some problem, which many times wasn't even a problem in the first place, and now their computer is acting crazy and why can't Microsoft hire programmers who know what they're doing.

    You need to find out what is actually happening to your computer and why it's happening. Only then will you know the correct way to solve your problem.

    10+ people found this answer helpful.
    0 comments No comments