Skip to content
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

Memory usage problem #21

Open
name-undef1ned opened this issue Nov 4, 2024 · 2 comments
Open

Memory usage problem #21

name-undef1ned opened this issue Nov 4, 2024 · 2 comments

Comments

@name-undef1ned
Copy link

I used this plugin in an openseadragon based project for capturing pathology files in.ndpi.svs and other formats, but when viewing, especially after multiple zoomings, the memory usage was high, up to 16GB (my computer only had 16GB of memory left) and the page crashed. Now I want to optimize this memory usage problem, could you please give me some suggestions? Thank you very much

@abiswas97
Copy link
Contributor

Can you share the version of the plugin that you're currently using? A potential leak was addressed as part of #5 (6dfa997)

If your version is lower than the change from the above PR, you can try installing the package through npm, or use the latest bundled build. If you're using the current version, we might have a new memory leak to investigate.

@name-undef1ned
Copy link
Author

image
image
Thank you for your reply. Here is the version of my plugin, which I use following the guidance in the official documentation. The file is an approximately 188MB .ndpi format file. Not only in my own project, but even the official demo on our computers experiences high memory usage issues. Therefore, I would like to know if there are ways to reduce memory usage, such as certain release strategies that might help unload and free up regions of the image that are reloaded frequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants