Use deferred rendering for the attempts page as was done in MAPREDUCE-4720. I'm sorry I didn't realize earlier that this table could be huge too. Thanks to Jason Darrell Lowe for pointing it out.
AM web UI: clicking on Map Task results in 500 error
Unexpected extra results when using webUI table search
JobHistory task attempts page sorts elapsed time wrong