Fix of issue #12 and #7 Using a higher sample size will fix problems most likely.
Add purgeable flag to recycle bitmaps when the memory gets full.
Add purgeable flag to recycle bitmaps when the memory gets full.
Merge pull request #13 from vinceve/master

Out of memory exception.