Please attach a test project that replicates this problem. Also, specify what is in the resource? You can attach the project and the file for the resource here or in a forum PM.
Can you give me more information on how this can be best resolved if there is a way?
Only the developer can solve this problem. You can avoid this problem if you don't allow one browser to take up more than 3-4gb of RAM (Removing unnecessary or used elements on the page).