Quantcast
Viewing all articles
Browse latest Browse all 3132

Re: memory leak with windows service

OK, but that doesn't show the dependencies being used, just the whole process.

Did you run in debug mode or Release mode? There are differences between the VS debug dll's and Release dll's.

 

Monitor the \temp folder and see if the files are being cleaned up. You may have to wait, Windows can take time, wait until the app is idle to see if they go away. And when closed do they get deleted?

 

Run Perfmon and watch the private byes on a release build of your app..

 

Are you using a report with saved data so it removed the DB client from the picture? Or even better just add a text object to the report with "Hello World" in it and run that report and select No Printer in the Page Setup, that removes the printer driver from the picture and relies on GDIPlus to format the page.

 

Also, when calling GC.Collect you need to add a few more lines:

 

 

 

GC.Collect();

 

GC.WaitForPendingFinalizers();

GC.Collect();

 

Not all fixes will be listed in the readme file and any previous fixes automatically get rolled forward.

 

Don


Viewing all articles
Browse latest Browse all 3132

Trending Articles