-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to clear the memory occupied by the browser? #406
Comments
maybe clear the cache as well? cornerstone.cache.purge |
I used the purgeCache() method, but it didn't work Viewed through the task manager, the memory occupied by Google Browser has not decreased significantly after uninstalling the interface components |
Can you do a memory profiling and send the results here? I recorded myself in the past for how to profile (maybe you already know it) https://www.dropbox.com/s/cesszo1figlceuc/2022-10-06%2015-47-40%20%281%29.mp4?dl=0 |
I made a memory profiling with reference to the operation process of the video, and the following is the results |
What is your OS and processor? |
OS : Windows 10 |
Can you please help me debug this? Thanks! |
20230206111002.2.mp4In my project, the prefix of imageId is 'wadouri:' rather than 'streaming-wadors:' or 'wadors:', This is where I can think of different places. |
So update: |
I'm using the latest version of Cornerstone 3D for a project and I have a viewer component that uses it, I'm trying to clear memory when I unmount the component, here's the beforeDestroy function I use:
However, there are still a large number of memory leaks, even if this function is run when the component is unloaded
Is it wrong to use the way of clearing memory? How to clear memory in the right way?
The text was updated successfully, but these errors were encountered: