I had a 6 month notice period in one role, 3 months isn't uncommon for senior roles, in the UK at least.
I didn't break the contract anyway out of some combination of feeling like it was breaking a promise and the worry that Cambridge is a small town.
Mind you - if the company is going down the tubes they are highly unlikely to enforce any job contracts.