Click here to Skip to main content
15,909,897 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:59
julian@giant16-Feb-12 4:59 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 4:06
sitebuilderLuc Pattyn16-Feb-12 4:06 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:54
julian@giant16-Feb-12 4:54 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:11
sitebuilderLuc Pattyn16-Feb-12 5:11 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:19
julian@giant16-Feb-12 5:19 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:33
sitebuilderLuc Pattyn16-Feb-12 5:33 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:13
julian@giant16-Feb-12 6:13 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:04
julian@giant22-Feb-12 5:04 
OK, have now got this sorted.

Previously the .exe I was doing performance enhancements on was 450Mb in size and took 1m30s to load each form it needed to create (from within the app itself)!

I managed to get this down to 1m15s on the first time the form was opened and 10 seconds every subsequent time it was opened from within the app. Memory usage was down to 150Mb. I was quite pleased with myself.

The target application server is 64bit. Setting the target CPU in the project settings of the application to x86 from x64 brought the size of the .exe down to around 60Mb and there is no delay on the initial creation of the first form from within the app.

Knew I'd get there in the end.

Thanks for all your input into this guys. Some most interesting suggestions.

Cheers

Julian
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn22-Feb-12 5:10
sitebuilderLuc Pattyn22-Feb-12 5:10 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:32
julian@giant22-Feb-12 5:32 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Dave Kreskowiak16-Feb-12 6:04
mveDave Kreskowiak16-Feb-12 6:04 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:15
julian@giant16-Feb-12 6:15 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 6:36
sitebuilderLuc Pattyn16-Feb-12 6:36 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 22:17
julian@giant16-Feb-12 22:17 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
AspDotNetDev18-Feb-12 22:11
protectorAspDotNetDev18-Feb-12 22:11 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Eddy Vluggen19-Feb-12 5:38
professionalEddy Vluggen19-Feb-12 5:38 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant20-Feb-12 6:19
julian@giant20-Feb-12 6:19 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Eddy Vluggen20-Feb-12 6:28
professionalEddy Vluggen20-Feb-12 6:28 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 5:14
mvePete O'Hanlon16-Feb-12 5:14 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:20
julian@giant16-Feb-12 5:20 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
killabyte16-Feb-12 16:22
killabyte16-Feb-12 16:22 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 22:25
mvePete O'Hanlon16-Feb-12 22:25 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 23:08
julian@giant16-Feb-12 23:08 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 23:31
mvePete O'Hanlon16-Feb-12 23:31 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
charliezcr18-Feb-12 21:17
charliezcr18-Feb-12 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.