开发者

Weird .NET Memory Leak in ClickOnce app that can't repro as Desktop

开发者 https://www.devze.com 2022-12-13 07:51 出处:网络
In Visual Studio, are there any real difference between a \"Release\" build of an application, and a published version of the same application?

In Visual Studio, are there any real difference between a "Release" build of an application, and a published version of the same application?

I have an ugly memory leak that's creeping up only in the published version installed via ClickOnce. The same leak does not occur in the "Release" build if I run the executable from the project/bin directory. I am very befuddled as to why this would occur because as far as I know, there should be no difference.

The appli开发者_如何转开发cation is a little involved so please excuse me for not providing more details. If it helps, the application uses DevExpress XtraForm objects and Devart (CoreLab) MySQL database objects.

Edit: I must be an idiot but I tried to profile the app with ANTS memory profiler and I can't seem to replicate the memory leak. When I run the actual application Mem Usage is clearly creeping up to uncomfortable levels in Windows Task Manager but memory usage in the ANTS profiler doesn't seem to increase.

0

精彩评论

暂无评论...
验证码 换一张
取 消