title: Drawing on bitmap vs directly on canvas
body: <p>In my application I need to draw a large network (basically, little boxes connected with lines) and the user will be able to zoom and pan it around.</p>
  
  <p>My first option was to draw the network directly to the canvas, but I thought that was not very efficient, because each time a pan event occurs, the drawing process begins again.</p>
  
  <p>So I tried to use a large mutable bitmap and draw my entire network only once (or at least whenever zoom occurs), and blit the necessary areas to the canvas.</p>
  
  <p>My problem is, since the network is rather big, I get OOM exception when creating the bitmap…</p>
  
  <p>What should I do? Draw directly to the canvas? Use several smaller bitmaps?</p>
  
  <p>Thanks, 
  Direz</p>