Android createGraphics memory problem

Maybe instead of 10000, try a smaller value?

What are you trying to do by the way?

Kf