Avast web shield causing memory leak through ndis.sys

Watching videos on the web while the web shield of avast antivirus is switched on causes the RAM usage to go up steadily. When I investigated using Poolmonx, I found that a file called ndis.sys is increasing in ram usage every time I watch videos on the internet. The pooltag is NDnd. Turning off web shield stops the problem. It is same as the problem discussed in the following thread.
https://forum.avast.com/index.php?topic=221645.0
I have recently installed avast and have the latest version so its not a problem of that. Please resolve this issue.

I should add that I am experiencing this problem for microsoft edge also unlike what is mentioned in the other thread.