-
Notifications
You must be signed in to change notification settings - Fork 16
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
A new option to set image cache size? #283
Comments
8GB is about 8000 AIA images (there is an overhead in the cache store). |
Thanks. Yes, it's rare to need more than 8GB of cache, but I'm currently working on multiple events and have maxed out the fixed 8GB. Each time I reuse an image layer, I have to wait for the application to reload the images. If increasing the cache size doesn’t cause any issues with the application, it would be beneficial to have more customization options. This would also reduce server load and bandwidth usage. |
For this use case, I guess it would be OK to restart the program for the new size to take effect. |
What do you mean by 'restart for new size'? Are you saying that if I restart the program, the cache will increase by 8GB each time? Does this mean JHV doesn’t track the cache used but just requests a new cache size with each restart? If so, wouldn’t this extend the cache size with every restart? However, the cache directory on my disk is always smaller than 8GB. Additionally, even if restarting increases cache size, there is another issue that needs to manually set the time ranges after each restart :-) (see issue #281). Cache size:~/JHelioviewer-SWHV/Cache$ du -sh ./
|
After changing the size in Settings, you will have to restart the program for the new value for the size to be used. The JPIP image cache is held into the |
I understand that if there were an option to set the cache size in the Settings, the change would only take effect after a restart. Currently, I’m using version 4.7.0.11268, which doesn’t include this option. As for the cache size shown in my screenshot, please disregard it. On my computer, I’ve also seen different outputs, such as Nautilus showing: 3,195 items, totaling 9.0 GB. |
Hello, |
So will JHV automatically check and read the downloaded jp2 images in ~/JHelioviewer-SWHV/Downloads before fetching data from the server? That sounds good. Thanks. |
Not automatically, they have to be loaded manually. For example, data referred to by state files is requested only from the server, thus indeed this JPIP (streaming) cache reduces a lot the network traffic and waiting times. |
I see. A user can load these images from "Open Image Layer" in "File" menu. Thanks. |
The current image cache size is set to 8GB on disk.
Given that modern computers often have hard drives of 1TB or more, could an option be added to customize the image cache size, as long as it doesn’t risk crashing the application?
The text was updated successfully, but these errors were encountered: