-
UPDATE: This also happens when I run it on a different machine in VSCode, so likely isn't a local VS2022 cache issue like I suspected. If anyone can suggest how to look into this or some kind of profiling of what's causing the memory to run haywire, I'd appreciate it. I have a large application built with Blazor hybrid. There is a MAUI version and web version of the application. This problem occurs on both the MAUI and web versions. Was working fine until a couple of days ago so I hope this can be resolved just by clearing a cache or something. Hot reload freezes the application, memory usage shoots up then plateaus. After a while, the plateau doubles. Then doubles again. etc. So instead of clearing memory it seems to be just doubling? The application then stays frozen until I stop debugging. Hot Reload output says The problem only occurs on hot reload. Never during normal usage of the application, or when refreshing the page with F5. Only hot reload. Normal operation: After hot reload: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved this finally. Turns out one of my components was hitting an infinite render cycle which could only ever be hit through hot reload. |
Beta Was this translation helpful? Give feedback.
Resolved this finally.
Turns out one of my components was hitting an infinite render cycle which could only ever be hit through hot reload.