Posts: 14
Joined: Feb 2016
Reputation:
1
I didn't yell and scream. I did calmly report the problem. Was I snarky? Perhaps. But you suggested I should “rm *” from my pictures directory, and you're accusing me of having a crap attitude? I'm not the one that broke Kodi!
Posts: 5,238
Joined: Jul 2012
Reputation:
338
There is a ticket on trac #16193 that appears to address this issue. I was able to reproduce this with Kodi 16.0 on Win 7 x64 (Kodi very rapidly committed virtual memory until it exhausted the 4Gb process limit). I don't think PR:7992 is the cause of this problem, just makes it easier to reproduce. When I get a chance will repeat on a Krypton nightly.
scott s.
.
Posts: 6
Joined: Feb 2016
Reputation:
0
2016-02-27, 10:57
(This post was last modified: 2016-02-27, 22:30 by shutterskull.)
Just to add, I get the same problem. Kodi Jarvis crashes when trying to use recursive slideshow - which previously worked fine on Isengard and all other previous versions.
I get a message - "ERROR: Exception caught on main loop. Exiting." Then Kodi crashes and closes.
How do I roll back to Isengard? Jarvis sucks.
Posts: 5,238
Joined: Jul 2012
Reputation:
338
I did some load testing on Krypton 0227 nightly. What I found was that launching Kodi results in about 230 Mb of Virtual Address Space (VAS) being consumed. I then did some tests by creating a new picture source with varying number of image files (pretty much all are jpg formats) and then running a recursive slideshow on that image source. My results show that the use of VAS is linear with the number of images in the recursive slideshow with a slope of 0.265. Thus the max number of images that can run in a recursive slideshow is about 14,000 before VAS is starved (4 Gb limit) and Kodi crashes. Note that I had "create thumbnail" setting on, but I don't thin the thumbnail gets created until the image file is actually loaded so I don't think that is a factor (I stopped the recursive slideshow immediately after loading it.) I did take a look at actually loading the images to view (not slideshow) and creating the thumbnails did increase VAS usage some (50 Mb or so) but probably wouldn't kill Kodi. I also noticed that exiting MyPictures released that VAS used for thumbnails, while exiting MyPictures after starting a recursive slideshow did not release any VAS (the bulk of VAS was used in the heap).
I did turn on debug to see if there is anything, but no errors or anything interesting get logged, just OnAdd debug entries as the recursive slideshow is being built.
I think that's about as far as I can take this, as I don't have an interactive debugger setup to run Kodi in.
scott s.
.
Posts: 353
Joined: Dec 2014
Reputation:
6
I'm wondering if this topic is still in the right subforum. Is this a problem on Linux, Android etc. also?
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
likely all platforms, I'll move it
Posts: 758
Joined: Jun 2014
Reputation:
31
MrMC
Posting Freak
Posts: 758
known issue, no one seems to care. At some time, when I get a chance, I might poke into it on MrMC fork.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Might already be solved by the nuking of cximage in v17.
Posts: 819
Joined: Aug 2012
Reputation:
35
Ace
Team-Kodi Member
Posts: 819
No, it is the way how the playlist is constructed. The amount of memory used grows very fast.