title: CoreAnimation: failed to allocate xxxx bytes
body: <p>I am developing an iOS app n which I am using core plot to draw the graphs.
  15-16 graphs are getting plotted at a time an they all are needed.
  I have a sync button which takes the data from server and draws the graphs accordingly.
  Number of graphs can vary on each sync.
  Before drawing each chart I am releasing the earlier objects using the code:</p>
  
  <pre><code>[smartbarChartView.hostedGraph.axisSet removeFromSuperlayer];
  smartbarChartView.hostedGraph.axisSet=nil; 
  smartbarChartView.hostedGraph=nil;
  smartbarChartView = nil;
  </code></pre>
  
  <p>Still when I sync for 2-3 times, I get the error CoreAnimation: failed to allocate xxxx bytes and application gets stuck.</p>
  
  <p>Tried to resolve the issue for a whole day.</p>
  
  <p>any guidance is highly appreciated.</p>
  
  <p>Thanks in Advance!</p>