Gets or sets the one memory budget in bytes covering the tiles the surface holds, the tiles being drawn, and the document's render caches with their display lists (CachedBytes; DefaultMemoryBudget by default). Choose at least twice the pixels of a screenful of tiles.
public long MemoryBudget { get; set; }