The item limit is 64k global items. Unfortunately there is no cleanup or reuse of item handles, so killing NPCs, or trading to ones destined to die, doesn't make any difference.