possible to improve windows 10 memory leaks?

Page 1 of 3 123 LastLast

  1. Posts : 69
    Windows 10 pro, 64 bit
       #1

    possible to improve windows 10 memory leaks?


    Granted every version of windows has seemed to get choked by excessive browser tabs. And I'll grant that my windows 10 install (old... v 1909) only has 8 gig of RAM, which never seems to hicup, until about a week. I do mostly use Firefox and Chrome which are both seasoned browsers so I'd like to think their internal memory management coding properly releases memory no longer in use. But still, once I have a dozen browser tabs open and in use, its just a matter of days before they system starts choking, with browser tabs crashing and reporting "not enough memory". The only thing that has helped was to manually increase the size of the windows swap file, which I now have set to about 16 gb. Anything else I can do?

    SIDE NOTE: Yes, I intend to update my windows version, but its is older machine with some old but still high quality peripherals, like an older professional sound card, and version update almost always mean re-installing any drivers which microsoft can't find a current newer version for. That plus having to re-install print drivers and other utilities. So bottom line, I usually have to plan on a days work when I attempt upgrade, and it often fails and reverts (probably because of the age of the machine)
      My Computer


  2. Posts : 4,187
    Windows 11 Pro, 22H2
       #2

    If there really and truly are any memory leaks, there's not likely to be anything that you could do about it. That would have to be something fixed in the leaky code. If you somehow knew exactly what was causing the issue, then there might be something you could do about it.

    As for upgrading Windows...

    One strategy that you might consider is to simply create a full disk image backup just before upgrading to the latest version of Win 10. That would allow you to trial run the latest updates and easily roll back in case things don't work well. Note that you should be able to roll back anyway right from Windows itself, but having a full image would give you that extra level of protection.
      My Computers


  3. Posts : 69
    Windows 10 pro, 64 bit
    Thread Starter
       #3

    hsehestedt said:
    If there really and truly are any memory leaks, there's not likely to be anything that you could do about it. That would have to be something fixed in the leaky code. If you somehow knew exactly what was causing the issue, then there might be something you could do about it.

    As for upgrading Windows...

    One strategy that you might consider is to simply create a full disk image backup just before upgrading to the latest version of Win 10. That would allow you to trial run the latest updates and easily roll back in case things don't work well. Note that you should be able to roll back anyway right from Windows itself, but having a full image would give you that extra level of protection.
    Thanks, and yes... I usually go a step further and just clone (and fully test!) the whole system drive before any major upgrade, or even a major software install I'm not sure I fully trust.

    Darn though! I'd hoped by now Microsoft might have released a "garbage collection" tool. Something like a virtual machine or wrapper to run possibly leaky code in, so when things get fluky I could just shout down and restart the VM instance instead of rebooting the whole machine.

    I'll be curious though to see if others have the same problem with either of these well seasoned browsers!
      My Computer


  4. Posts : 4,187
    Windows 11 Pro, 22H2
       #4

    PeterPan2000 said:
    Thanks, and yes... I usually go a step further and just clone (and fully test!) the whole system drive before any major upgrade, or even a major software install I'm not sure I fully trust.

    Darn though! I'd hoped by now Microsoft might have released a "garbage collection" tool. Something like a virtual machine or wrapper to run possibly leaky code in, so when things get fluky I could just shout down and restart the VM instance instead of rebooting the whole machine.

    I'll be curious though to see if others have the same problem with either of these well seasoned browsers!
    The problem is this: How is Windows supposed to know if an application has a memory leak? Maybe the memory that it is consuming is being used on purpose. It's hard for the OS to know what is normal memory usage for an app vs some abnormal state. That would really need to be something that gets fixed by the maker of the app.

    Just out of curiosity, have you performed any sort of monitoring to verify that it does indeed seem to be a memory leak? I realize that you are getting messages indicating not enough memory, but have you brought up something like Task Manager to verify that it is actually the browser consuming the memory
      My Computers


  5. Posts : 6,842
    22H2 64 Bit Pro
       #5

    In the past I've used this specifically for browsers.

    Firemin - Rizonesoft

    When I had a 4Gb RAM system I used:

    Mem Reduct

    Now with 8Gb RAM I don't need either. But then again I rarely have more than 2 - 3 tabs open at any time.

    I've always moved Firefox cache to RAM anyway. Currently I don't use Firefox. I've switched to Librewolf.

    Try either linked program and see if it helps. If not, remove or uninstall.
      My Computer


  6. Posts : 2,271
    Linux:Debian, Kali-Linux... 2xWin8.1,1x7Pro, Retro:1x2003server.1xXPpro, 1xW2k,1x98SE,1x95,1x3.11
       #6

    Modern web browsers is memory hogs.. and even worse when used with default settings.. Firefox has a lot of settings.. as for the others i have never and will never use Chrome or Edge so i have almost zero knowledge about them.
    Windows7 on 8GB is okay.. win10 on 8GB.. works as long you dont plan on using any programs.
    This goes for Linux too.. My linux Debian x64 system is fine tuned and on boot uses around 600MB ram... Windows x64 on boot uses around 2GB ram.. and you can get it down to just under 1GB if you kill cortana and a lot of sub processes.

    The year is 2023 and the developers do expect people to have 32GB ram.. and absolutely not under 16GB So the problem is that the web browser(and other programs) is using value of unlimited and windows and other OS's let them as swap do exist. (really easy explained without going in on the technical of memory overcommitment, OOM and it all)


    But a few short things to set to save some Ram in Firefox is

    Disable Unnecessary Animations
    toolkit.cosmeticAnimations.enabled = false

    Reduce Session History Cache
    browser.sessionhistory.max_total_viewers = 0

    Stop firefox from pre loading some content
    network.prefetch-next = False
    network.http.speculative-parallel-limit = 0

    Then you can add a new value to lower memory usage when a window is minimized.
    config.trim_on_minimize
    Value= True

    Here is information of all about:config entries. About:config entries - MozillaZine Knowledge Base
      My Computer


  7. Posts : 4,187
    Windows 11 Pro, 22H2
       #7

    I often run 50+ tabs simultaneously in Edge with not a single problem ever. Admittedly, that's not with 8GB.
      My Computers


  8. Posts : 1,680
    X
       #8

    Precisely this ...
    hsehestedt said:
    The problem is this: How is Windows supposed to know if an application has a memory leak? Maybe the memory that it is consuming is being used on purpose. It's hard for the OS to know what is normal memory usage for an app vs some abnormal state. That would really need to be something that gets fixed by the maker of the app.
    Your memory leaks is not a Windows memory leak. It's a browser leak.
    Only Google (for Chrome) or Mozilla (for Firefox) can fix their leaks.

    And increasing (so-called) virtual memory is not a solution.

    Easy solution: Close the browser. Then reopen.

    BTW ... I have either (a) no memory leaks or (b) no leaks large enough to cause a problem.
    But that might be because I don't open dozens of tabs, and I don't leave a browser open for long periods.
      My Computer


  9. Posts : 706
    W10
       #9

    I do not use Firefox tabs as a way of storage. Interesting URL's are stored in folders on my desktop in a logical order, and are only used in FF when needed.
    Never had a problem with memory leaks.
      My Computer


  10. Posts : 2,911
    Windows 10 Pro for the Bro
       #10

    I have an app called: CleanMem Pro 2.4.3

    There are certain projects that I do on the computer that take up a LOT of computer memory, and once I'm done, I use this app to clear up memory that the computer "remembers". This helps release unused memory, so my computer can become quick again, without a computer restart.

    I also heard that the "Page Faults" (in Task Manager), are related to how the computer starts / becomes more unstable over time / becomes slower. So, over time, it's pretty much a requirement to restart the computer, for it to stay reliable in the tasks that it does. I am not 100% sure about the stuff I typed in this paragraph; don't rely on this info. This is just info that I got off the internet a long time ago.

    But the app I mentioned earlier works really well.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:44.
Find Us




Windows 10 Forums