How to control browser resources

A Terentiev 85 Reputation points
2024-01-13T09:41:19.7166667+00:00

Dear Gurus! Website on Blazor server. On some relatively weak machines (For example, OS Windows XP 32 bit, 2 GB of RAM), after some time after working on the site, the client receives a message - there is not enough memory to load the page or something like that... Although nothing that could lead to a leak browser memory. The OSM map is shown, the service provides 7 records from PostGresql. Are there tools that show where memory is being wasted in the browser? To somehow monitor the situation... How to test a site for such errors?

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
{count} votes

Answer accepted by question author
  1. Bruce (SqlWork.com) 82,061 Reputation points Volunteer Moderator
    2024-01-13T17:50:41.4533333+00:00

    With blazor server, the client code has two main uses of memory. The client side razor tree which has a copy of all dom elements and the dom. Of course if you use js interop, you could be using other memory. See https://webkit.org/blog/6425/memory-debugging-with-web-inspector/

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.