This resolves out of memory errors that occur when loading image files or using WMS or Bing Map objects.