die if input is huge

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>