I occasionally end up with a notebook that is excessively slow in the front-end because of its size. Often it's some animation. How can I use Mathematica to find the large cell responsible for this?
Here's an example notebook where I ended up with this problem.
ReverseSortBy[Cells[EvaluationNotebook[], GeneratedCell -> True], ByteCount@NotebookRead@# &]
? $\endgroup$