The browser memory usage keeps increasing

Create ct_volume use following code:
ct_volume = await volumeLoader.createAndCacheVolume(volumeId, {
imageIds: imageIds,
})
ct_volume.load()
to create volume object
when load another volume, use
ct_volume.cancelLoading()
cache.purgeCache()
to relase memory, but The browser memory usage keeps increasing.

Thanks for your question. Could you please create an issue in cornerstone on github? Thanks.

Thanks your reply. I am a beginner of this library. I look into the source code and find this method, I am not sure is it correct. Is there a demo code for clear memory when change volume?

We feel this might be an issue, so if you could please log an issue in cornerstone on github then that would be appreciated and someone will look into it. Thanks.

I have already submitted this issue, thank you very much.