-2

I opened my web application in Edge. When I login through the application and come to the homepage I noted the memory consumption of the application in task manager. Then I performed some operations on the site and again go the task manager and see that the memory is increasing in an unexpected way; up to 1800 MB.

What things causes the leak of memory on client side?

I used JQX, Google maps API and jQuery on my client side. Does anyone have any idea what causes releasing this memory?

enter image description here

TylerH
  • 20,799
  • 66
  • 75
  • 101
Gaurav_0093
  • 1,040
  • 6
  • 28
  • 56
  • Please be aware that 'IE' and 'Edge' are different browsers. We can see from the screenshot of the task manager that you specifically mean Edge in this case. However to solve this we need to see your code. – Rory McCrossan Feb 20 '19 at 09:33
  • How much memory is Edge using when you open it without doing anything else? Do you have some extensions loaded in to it? Generally speaking memory leaks occur when DOM elements are removed but not released from memory. This is normally handled by the browser themselves, and each one is a matter of bytes, so to use several Gb of memory so quickly is highly unlikely. – Rory McCrossan Feb 20 '19 at 09:37
  • when I opened my application first time then edge is consuming the 450 MB approximately then i performed some operations like opening and closing of popups and again after come to the task manager then again it increasing up-to 600 and when I opened the application for almost half n hour and doing nothing then it reaching the level up-to 1800 MB – Gaurav_0093 Feb 20 '19 at 09:40
  • Without seeing your code or knowing what it does it's very hard to diagnose the issue. As I stated above, though, garbage collection is handled by the browser. If this behaviour is not happening in other browsers then it's likely just another reason why Edge is a terrible browser. – Rory McCrossan Feb 20 '19 at 09:47

1 Answers1

0

You could install windbg to detect the memory leak. More details tutorials, you could check Memory Leak Detection Using Windbg and identify Memory Leak With Process Explorer And Windbg.

Zhi Lv
  • 18,845
  • 1
  • 19
  • 30