Only release build exe uses temporarily 1gb unmanaged ram
we have noticed a strange behavior in our .net 4.0 WinForm app.
When we start the app everything is fine, but when we open an additional WinForm the app allocates 1gb of unmanaged ram and frees it just befor it open the new window.
This takes about 20 sec.
The strange thing is that this only happens when we build the app with release configuration. In a debug build exe or when we run the release exe with VS to debug it, there is no such memory allocation and no waiting time!
We tried to find some hints with your ANTS Memory Profiler, but we couldnt figure out what the problem is.
Maybe you can help us and take a look on the results
to give us a hint what wents wrong.
Sidenote: We are using alot of DevExpress components.