Is there a thread that is current that leads you to believe this is the issue? Many of the results to a search for that term are several years old. and several versions back.
I’ve seen libraries with 15K videos index without a hitch.
I read through a few of them, none of them have actual resolutions apart from moving from Plex to SMB (not an option)… Thought it would make a kickoff point…