When emptying crates on my server the crates just stay there with no loot rather than despawning (I used https://lootify.co.uk/ to make the loot for my crates)
Crates not despawning
most likely you are overfilling the container, it actually has more items in it you just can't see/loot them. Paste one container from your LootTables.json as an example.