I have some folder with 32k files
But its not big - only 3gb
If I open that folder - xnview will eat all my 32gb ram and will start to swap
Reason that it wanna show all images I guess?
It will be nice idea to disable images while indexing some folders.. Or maybe to enable RAM limit
Limit RAM usage or do not load image while indexing
Moderators: XnTriq, helmut, xnview
-
- Posts: 18
- Joined: Mon Nov 20, 2023 4:50 pm
Limit RAM usage or do not load image while indexing
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3
- Joined: Fri Feb 07, 2025 3:35 pm
Re: Limit RAM usage or do not load image while indexing
I also have the same issue, it's taking 16GB RAM while specific folder with many files is open. I compared with another popular app and it was taking 1.1GB after loading folder. (thumbs are same size)
'Memory usage for database engine' doesn't seem to work.
I think it's memory leak (memory keeps increasing until I hit max limit then drops and goes maxed again) or app is loading all thumbs in RAM.
'Memory usage for database engine' doesn't seem to work.
I think it's memory leak (memory keeps increasing until I hit max limit then drops and goes maxed again) or app is loading all thumbs in RAM.
-
- Author of XnView
- Posts: 45579
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Limit RAM usage or do not load image while indexing
you can uncheck 'Settings>Thumbnail>Create thumbnails for whole folder'
Pierre.
-
- Posts: 3
- Joined: Fri Feb 07, 2025 3:35 pm
Re: Limit RAM usage or do not load image while indexing
Yes but I need them. And they're already generated once. Why do they take all available memory until it crashes? I think it's a bugxnview wrote: Wed Feb 12, 2025 3:54 pm you can uncheck 'Settings>Thumbnail>Create thumbnails for whole folder'
-
- Author of XnView
- Posts: 45579
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Limit RAM usage or do not load image while indexing
even if you uncheck, you'll have them but not all will be in memory
Pierre.
-
- Posts: 3
- Joined: Fri Feb 07, 2025 3:35 pm
Re: Limit RAM usage or do not load image while indexing
I see. That's very useful to know. I thought disabling it will not generate any higher resolution thumbnails which I need. What is the purpose of this option? Maybe it's loading all of them but uncompressed in RAM (since the whole folder takes less than RAM usage). Keep up the good work, great software 
