Slideshow crash

I have a collection of more than 500,000 images organized in a two-level folder structure. When I attempt to run a randomized slideshow from the root of this collection KODI works for 30-40 seconds then pops up a message box with an error icon but no message text. When I hit OK on the message box KODI crashes. I don’t know if this many images is meant to be supported but I will mention that both Plex and JRiver play the same slideshow without problem. It takes both of them about 3 seconds to get it started. Can anyone say whether there any chance of this getting fixed?