×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

FitsViewer memory usage on zoom

  • Posts: 49
  • Thank you received: 20
Hi,

I'm running KStars, Ekos and Indi on an Odroid XU4 with 2GB RAM and 64GB eMMC with Ubuntu 16.04.
KStars and Ekos handling is very smooth but when I (accidently) zoom more than 100% into an image the memory usage increases very fast and the system starts swapping which slows down the whole system and I have to wait some minutes before I can abort the action. It's happening in Fitsviewer but also in the focuser window.
I assume Fitsviwer resizes the whole image so it takes much more space in memory. Maybe there is a way to calculate the region of interest where I zoomed in and resize this part of the image. Of course, this needs more CPU because moving the region of interest needs to recalculate the resized image region but it can save memory.
5 years 5 months ago #14166

Please Log in or Create an account to join the conversation.

I don't that possible without a LOT of work since you can zoom to 400% and then drag the image around. Imagine what is required to keep doing ROI all the time. Maybe I can add "Limited Memory" option which would turn off all things that are memory intensive (like debayer..etc) along with locking zoom to 100% max

EDIT: I added "Limited Memory Mode" to advanced options in KStars. This only applied to FITSViewer. Will improve memory stuff with time. For now it limited zoom to 100% and turns off auto-debayer and auto-3D cube.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: fehlfarbe
Last edit: 5 years 4 months ago by Jasem Mutlaq.
5 years 4 months ago #14204

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 20
Thank you very much! Now I can control my observatory without lags and crashes :)
5 years 4 months ago #14300

Please Log in or Create an account to join the conversation.

Time to create page: 0.174 seconds