If I'm not mistaken, there's no limit on contempt of court. A... stubborn judge could keep you detained until you're no longer in contempt.
Either way, the longest contempt sentence ever was 14 years, which is nothing compared to what you'll get if the government convicts you of laundering money, selling drugs, possessing child porn, or all the other crimes that you might have documented on your computer.