cornerstonejs / cornerstone

[Deprecated] Use Cornerstone3D Instead https://cornerstonejs.org/
MIT License
2.07k stars 598 forks source link

memory exceed ! #592

Open muhammedmokbel opened 2 years ago

muhammedmokbel commented 2 years ago
leak

can anyone explain why this bug happened ? how can I solve ? I am using cornerstone viewport and i just load image ids and tools to and Viewport mange request and other aspects ?! so why this bug happened ?

mdimranpatel250 commented 1 year ago

you got any solution its happening in edge or chrome why happening i don't even we setting cornerstone.imageCache.setMaximumSizeBytes(maxSizeInBytes); also and i using purgecatch but when large frame its there its crashing

ITCore99 commented 3 months ago

hello mdimranpatel250 I also encountered the same problem. Have you solved it? How

mdimranpatel250 commented 3 months ago

Regularly clear cornerstone memory Or use Firefox browser

On Tue, 13 Aug, 2024, 7:45 am Seeker, @.***> wrote:

hello mdimranpatel250 I also encountered the same problem. Have you solved it? How

— Reply to this email directly, view it on GitHub https://github.com/cornerstonejs/cornerstone/issues/592#issuecomment-2285212784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVGUTANXUPAPEMEMYNDUK3ZRFT2JAVCNFSM6AAAAABMNIU366VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVGIYTENZYGQ . You are receiving this because you commented.Message ID: @.***>

ITCore99 commented 2 months ago

Regularly clear cornerstone memory

How to clear memory regularly? It's by reload?

mdimranpatel250 commented 2 months ago

Performance. Memory Check how much heap allocation is through this api allocated to cache image 40% to 50% Cornerstone. Imagecahe. Setmaximusizebytes()

On Wed, 11 Sept, 2024, 4:21 pm Seeker, @.***> wrote:

Regularly clear cornerstone memory

How to clear memory regularly? It's by reload?

— Reply to this email directly, view it on GitHub https://github.com/cornerstonejs/cornerstone/issues/592#issuecomment-2343302662, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVGUTAPH2EY26ESAFN55B3ZWAODBAVCNFSM6AAAAABMNIU366VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGMYDENRWGI . You are receiving this because you commented.Message ID: @.***>