There is no hard limit for the canvas maximum size. It depends on the process available memory (which is much smaller than the device available memory).
You should instead create a much smaller bitmap and when you draw it to the activity you should resize the drawing area (like a digital zoom).