Page 4 of 4

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Fri Jan 20, 2017 10:00 pm
by XnTriq
jadO wrote:
xnview wrote:it's only for create catalog in settings
I don't understand what you are trying to say.
I had been wondering if the fixed leaks were also causing the OOM issues reported by you, jadO.
Thanks for clarifying, Pierre.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Mon Jan 23, 2017 8:23 am
by xnview
jadO wrote:I don't understand what you are trying to say.
The problem fixed is when you 'add folder' in catalog setting

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Mon Nov 27, 2017 10:11 am
by jadO
This seems to be still an issue. It seems that memory consumption is growing more slowly now, but still it keeps growing and growing and growing.

Edit: It is now using appr. 1GB. But stays at that for some time now. Has that issue been fixed?

Edit 2: It remained at about 1GB for a while but started to grow again after some time causing XnviewMP to crash.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Nov 30, 2017 7:32 am
by jadO
Still memory leaking.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Nov 30, 2017 8:40 am
by xnview
jadO wrote:Still memory leaking.
how do you have this memory leak? do you use internal codec or ffmpeg?

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Nov 30, 2017 11:26 am
by jadO
xnview wrote:
jadO wrote:Still memory leaking.
how do you have this memory leak? do you use internal codec or ffmpeg?
Ffmpeg.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Nov 30, 2017 2:06 pm
by xnview
jadO wrote:
xnview wrote:
jadO wrote:Still memory leaking.
how do you have this memory leak? do you use internal codec or ffmpeg?
Ffmpeg.
but which function do you use?

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Nov 30, 2017 8:12 pm
by jadO
xnview wrote:
jadO wrote:
xnview wrote: how do you have this memory leak? do you use internal codec or ffmpeg?
Ffmpeg.
but which function do you use?
Browser view with setting thumbnailing for entire folder.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Sun Dec 03, 2017 10:54 am
by jadO
Just in case you don't remember: The problem is, that XnviewMP tries to load every file into memory to create thumbnails.
This attempt must fail as XnviewMP has no idea how many files exist and keeps loading and loading until it runs of memory and crashes.
When I use browser view and scroll through the files, XnviewMP creates thumbnails one after another without running out of memory.
So to create thumbnails for whole folder, XnviewMP has to simulate that process: Load files into memory but release them after thumbnail has been created to load new files.

Edit: In fact thumbnailing should be a lightweight background process.

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Thu Dec 14, 2017 4:37 pm
by jadO
jadO wrote:Just in case you don't remember: The problem is, that XnviewMP tries to load every file into memory to create thumbnails.
This attempt must fail as XnviewMP has no idea how many files exist and keeps loading and loading until it runs of memory and crashes.
When I use browser view and scroll through the files, XnviewMP creates thumbnails one after another without running out of memory.
So to create thumbnails for whole folder, XnviewMP has to simulate that process: Load files into memory but release them after thumbnail has been created to load new files.

Edit: In fact thumbnailing should be a lightweight background process.

Any news on this?

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Mon Dec 18, 2017 4:47 pm
by xnview
jadO wrote:Just in case you don't remember: The problem is, that XnviewMP tries to load every file into memory to create thumbnails.
This attempt must fail as XnviewMP has no idea how many files exist and keeps loading and loading until it runs of memory and crashes.
When I use browser view and scroll through the files, XnviewMP creates thumbnails one after another without running out of memory.
So to create thumbnails for whole folder, XnviewMP has to simulate that process: Load files into memory but release them after thumbnail has been created to load new files.
It's not a memory leak like previous problem, only that all thumbnails take all memory because currently they are ALL in memory...

Re: Out of memory when recursive viewing 20.000+ videos

Posted: Tue Dec 26, 2017 2:01 pm
by jadO
xnview wrote:It's not a memory leak like previous problem, only that all thumbnails take all memory because currently they are ALL in memory...
So it is a memory leak by design? How can this be changed? I mean first of all I don't see any sense in loading all files/thumbnails into memore. This MUST result in memory issues. Also a good design for thumbnailing whole folder would be a background process with low cpu and memory footprint so that XnviewMP still can be used at the same time.