tax question regarding personal tax loss carryover

Is it possible or is there a limit to match a tax liability from a real estate sale with a loss carryover which came from stocks?

Person has real estate investment with profit over cost basis of 100k… assuming 30℅ tax rate can this liability loss be matched against 30k loss carryover ?

Ive heard of a 3,000 annual limit to match capital gains with long term carry over losses… but what happens if person has 100k+ in losses and 3k per year would take a lifetime to remove from tax statement?