function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Daniel Grabowski 9Daniel Grabowski 9 

Developer Console Memory Issue

I've worked in a lot of SF orgs, but I have never seen this behavior before.  

Generally, when I open/reload the Developer Console, the window is reloaded as-is. Meaning any tabs that I had open, SOQL query history, anonymous apex code, etc. is still present.

For some reason, with my current org (and sandboxes) this is not the case. If tabs load, they are old classes that I have not looked at in weeks. I cant see recent SOQL queries in the Query Editor tab, and the Anonymous Apex window contains a script that was run weeks ago (when others have since been run)

This means that if I have 3 classes open in Developer Console, I push from sfdx, and hit refresh, I have to go and find/reopen those classes.

Seems like some kind of browser cache or memory issue, but any insight would be helpful.  Thanks in advance.

VinayVinay (Salesforce Developers) 
Hi Daniel,

This seems to be a cache issue,  Can you try to check with any other user and this is the same behavior.

Try to restore the developer console by following the steps mentioned in the below link.

https://help.salesforce.com/articleView?id=000332898&type=1&mode=1

Thanks,
Vinay Kumar