I can reproduce continual memory growth with the following settings
photos.app.goo.gl/yvcYfuejsKtr3agM7
[66612.456121] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/system-vncerver.slice/vncerver@1.service,task=kstars,pid=3666,uid=1000
[66612.456201] Out of memory: Killed process 3666 (kstars) total-vm:10258436kB, anon-rss:6521364kB, file-rss:0kB, shmem-rss:8012kB, UID:1000 pgtables:16720kB oom_score_adj:0
I think that the feature of retaining all images in ram should be removed, or changed to have a max ram footprint.
I've heard several people complain about stability of kstars. I suspect that this issue is a large source of peoples perceived crashes, although they are actually OOM kills. I can take a look at making a change to fix this. I believe that it also happens with other fits viewer setting combinations.
Jamie