I should amend that, though. I hear people are having issues where their saves are corrupted after crafting or looting 65,536 items. That's a hard limit and there's absolutely no way around it. You know why? Because they decided to store item IDs in people's saves as 16-bit integers. If you go over 65,536 items, you literally run out of ID numbers. Item 65,537 cannot exist. The game cannot generate an ID for it. It's impossible. The "corrupted save" in that instance is just the game detecting an integer overflow of the item IDs and deciding not to load that save at all.
An integer overflow is a type of an arithmetic overflow error when the result of an integer operation does not fit within the allocated memory space. Instead of an error in the program, it usually causes the result to be unexpected.
www.acunetix.com
Fucking around with Stellaris mods is a good way to watch integer overflows happen, especially the ones that give you super-powerful weapon and engine tech. At a certain point, that extreme firepower and range rolls over to zero and you literally can't attack anymore with that fleet. A lot of numbers in Stellaris are stored as 32-bit integers and can't go over 2,147,483,647 as a result.