osmandapp/Osmand — pull request #277 by Flocki1982 (2012-07-22 08:49:41+00:00)
Title: Avoiding OutOfMemoryError during route calculation

Check for free heap when loading tile data. Throw an RuntimeException when were low on heap.

On my device less than 4.5 mb turned out to be not enough as someone
(image processing?) is allocating memory in chunks of more than 2mb.