ApplicationDeployment.CurrentDeployment.CheckForUpdate() has serious memory leak problem

  • Thread starter Thread starter farmer
  • Start date Start date
F

farmer

I schedule CheckForUpdate() in a application which need to persist
running. Every loop after CheckForUpdate() is called,the memory this
application occupied will increase for about 150k,till 3days later,it
throws this exception and absolutely stops:

"An unhandled exception of type 'System.OutOfMemoryException'
occurred in mscorlib.dll"

When this time,the memory it occupied is almost about 350M(begins from
40M).

I don't know if there is problem of CheckForUpdate()?or what I missed?
 
Back
Top