I leave it to the player. Usually, I allow them to recover 80% of their arrows or bolts. Once they have magic weapons, it really doesn't matter. (I still use 4th ed D&D, so magic items automatically return.)
In Star Wars D6, I'll have a blaster run out of charge if the D'Oh die rolls a 1 and I...