If you want to delete an account with a large state on mainnet, you can use Lantstool - just choose the account, key, and beneficiary, and the tool will handle it for you. Watch demo: https://www.youtube.com/watch?v=84OlJric7lk&t=9