Process Hacker and Windows discussion

 
User avatar
Vasilich
Member
Posts: 27
Joined: 04 Nov 2015 09:44
OS: W7 x64

Memory leak

29 Apr 2020 17:01

Hello.
I am using build 3.0.3034 on W10, and use sleep, had no restart since 2-3 weeks.
After one-two days of running PH its memory consumption grows to several GBs, so i have to restart it every 2-3 days:
PH_MemLeak.png
PH_MemLeak.png (7.88 KiB) Viewed 958 times
I see such behavior since 2-3 weeks, so this bug wasn't introduced this week :/
Any chance to reproduce it by others?
 
User avatar
Stoli
Member
Posts: 16
Joined: 11 Mar 2016 15:59
OS: Windows 10 Pro x64

Re: Memory leak

15 May 2020 00:35

Sorry for the late reply, but I have seen this issue as well. I'm now running PH 3.0.3074 under Win10 Pro x64 1909, but I've seen the private bytes usage of PH go as high as 24 GB (that is not a typo: twenty-four gigabytes).

Currently, PH has been running less than one day on my system, and is at nearly 900 MB of private bytes usage.

I also tend to sleep my system, but I never go more than several days before rebooting. The memory leak seems to be pretty serious to me.
 
User avatar
dmex
Admin
Posts: 1552
Joined: 17 Jan 2011 05:43
Location: Australia

Re: Memory leak

16 May 2020 08:31

Any chance to reproduce it by others?
I haven't been able to reproduce any memory leaks in the nightly builds with the default plugins. Are you using non-default plugins?
 
User avatar
Stoli
Member
Posts: 16
Joined: 11 Mar 2016 15:59
OS: Windows 10 Pro x64

Re: Memory leak

16 May 2020 15:57

Yes, sorry, I do use non-default plugins and should have mentioned them. I will use a process of elimination to try determining if one or more of the non-default plugins is the cause.

Here are the non-default plugins I use. Vasilich, if you use any of these, please let us know, since that could be important information.

DnsCachePlugin.dll - 66F8F54C742E250DAC294D36D6C50F21E379AA0D79C79134C35C48D3157D586A
FirewallMonitorPlugin.dll - 59862484C282F0F884AC2E6F61C8C07B0123C8596F0337990F594925708B8A83
ServiceBackupRestorePlugin.dll - 2C67F1ADD89F378F10C76D9ADDCC4CCFB20AA4ED3B3D48A88EDBD21A4F7F93E4
TrustedInstallerPlugin.dll - CCAFBA03059B532BD4CE00B8EC331E502A46E4CFA5499D15560526BE2E4F9D63

It's too hard to find where I got each of these, the files have no embedded version information, and the modification date/times have all been changed on my system, so I listed the SHA-256 hash for each.
 
User avatar
Stoli
Member
Posts: 16
Joined: 11 Mar 2016 15:59
OS: Windows 10 Pro x64

Re: Memory leak

19 May 2020 02:17

It seems pretty clear to me that on my installation at least, the memory leak is in:

FirewallMonitorPlugin.dll - 59862484C282F0F884AC2E6F61C8C07B0123C8596F0337990F594925708B8A83

I know it's experimental and I am not complaining. Just trying to help.
 
User avatar
Vasilich
Member
Posts: 27
Joined: 04 Nov 2015 09:44
OS: W7 x64

Re: Memory leak

20 May 2020 13:19

1. Yes, i also use FirewallMonitor plugin (it has no version resource, so i have one compiled 4.3.2020), and had it as possible root of leaks, but cannot confirm it because of 2:
2. After switching to 3.0.3074 (latest for now) i don't see memory leaks anymore.
@Stoli can you update to the same version of PH and check again?
 
User avatar
Stoli
Member
Posts: 16
Joined: 11 Mar 2016 15:59
OS: Windows 10 Pro x64

Re: Memory leak

20 May 2020 13:30

As I mentioned above, that's the version of PH I am currently running. I had to remove the plugin to stop the memory leak.