We've got JIRA with about 40 thousands issues and preety high change rate. This is too much for timecharts plugin, generation of report results in OutOfMemoryError.
One possible solution is to process every change set instantly while reading them from database instead of loading them all into memory. I've modified my code, and this solution worked well for me. I'm attaching patch with those modifications.
~Matt