title: memory leak - gdiplus.dll brushes
body: <p>My Application is using 5 GB to 6 GB of memory. We have run IIS debug diagnostics, and it shows the following:</p>
  
  <p>GdiPlus.dll is responsible for 2.49 GBytes worth of outstanding allocations. The following are the top 2 memory consuming functions:</p>
  
  <p>GdiPlus!GpMemoryBitmap::AllocBitmapData+c2: 2.47 GBytes worth of outstanding allocations.
  GdiPlus!EpScanBitmap::Start+212: 6.79 MBytes worth of outstanding allocations.</p>
  
  <p>This was detected in w3wp.exe_<em>Projectname-2</em>_PID_<em>28824</em>_Date__03_10_2012__Time_03_15_14PM_<em>457</em>_Leak Dump - Private Bytes.dmp</p>
  
  <p>what is causing this leak?  This is due to brushes.</p>
  
  <p>Please give some idea/ or how to solve this?</p>
  
  <p>Thanks in advance.</p>