Here's another thread you might find interesting since you're trying to put so many files on at once. It follows Sealbeater's oddysey to see how many books he could succesfully load. He got over 4000 after a lot of effort. Unfortunately, I don't think your 12k is do-able.
https://www.mobileread.com/forums/showthread.php?t=30849