Link to home
Start Free TrialLog in
Avatar of alexking
alexkingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

system hangups using vb .NET with .NET4.5

I have a very large, multi-form VB .NET program using Visual Studio 10 (VB) and .NET 4.0 with SQL Server - it works well and quickly
When installed on a .NET 4.5 machine there is a 30 - 60 second pause when loading a new form into a MDI interface for BUILT applications, not apparent in debug mode on development PC.
This is still present when compiled with VB13 and targeted to .NET 4.5.1
The code just executes a load command, previously instantaneous. Something must have changed in the memory management with .NET 4.5
How can I restore the short load times, please?
Avatar of Kalpesh Chhatrala
Kalpesh Chhatrala
Flag of India image

you did not provided any error message.

if you did not handle errors then you can retrieve error Message from Control Panel->Administrative Tools -> Event Viewer.
Avatar of alexking

ASKER

No error messages, just long delays loading forms.
Further investigation shows that checking box 'Prefer 32 bit' in properties overcomes the effect.
However, I am running a 64 bit system - so seems nonsensical
did you try to build for x64 CPU ?
ASKER CERTIFIED SOLUTION
Avatar of alexking
alexking
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This worked, although seems a compromise. No-one suggested anything better.