fixed improved raster chart memory handling