Clear the heap?

There is one String (capital S) as far as I could see and it's never modified. That will not be the issue.

There also don't seem to be boundary issues for arrays (at first glance).

// edit
Sorry @westfw, missed the next page