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

.NET (Core and Framework)

 
AnswerRe: Wide table visualization Pin
Bernhard Hiller16-Feb-12 20:54
Bernhard Hiller16-Feb-12 20:54 
GeneralRe: Wide table visualization Pin
TPIRick17-Feb-12 3:12
TPIRick17-Feb-12 3:12 
AnswerRe: Wide table visualization Pin
Dave Kreskowiak18-Feb-12 4:08
mveDave Kreskowiak18-Feb-12 4:08 
AnswerRe: Wide table visualization Pin
Eddy Vluggen18-Feb-12 4:15
professionalEddy Vluggen18-Feb-12 4:15 
AnswerRe: Wide table visualization Pin
jschell20-Feb-12 9:55
jschell20-Feb-12 9:55 
AnswerRe: Wide table visualization Pin
Luc Pattyn20-Feb-12 12:18
sitebuilderLuc Pattyn20-Feb-12 12:18 
AnswerWORKAROUND/SOLUTION !!! Pin
TPIRick7-Mar-12 10:09
TPIRick7-Mar-12 10:09 
Question.Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 3:34
julian@giant16-Feb-12 3:34 
Hi all,

I have a scenario that is puzzling me and I'm guessing at the behavior and was wondering if anyone else knew what was happening under the skin of .Net.

I have a .Net 4.0 application on a clients' Windows Server 2008 64bit back end database is an ALPHA (not relevant).

The application is 1 form with literally hundreds of controls on it and also an image viewer. It's takes up quite a bit of screen space, and has multiple tabs (at least 8) to hold all the controls.

The puzzling scenario is this:

1. Open up a simple list
2. Select an item from the list to open up the form as described above - this takes over 1min 15secs
2. Close the form (return to list in point 1)
3. Open up the same form from the list loading the controls in exactly the same way with the same queries behind it (assuming not relevant from the logs I've looked at), and it can open in 10 seconds flat.

From the looks of the memory print in Task Manager, the memory obviously shoots up when the form is first opened, but doesn't go down too far after closing the form. On reopening the form again, the memory doesn't go up much but only takes 10 seconds to open.

I'm thinking that .Net is loading up a load of stuff (!for want of a better word!) into memory on first load of form, and subsequent forms use what has previously been loaded into memory.

If it's not this that is happening, I'm not sure what is happening, as I have been asked by our client to try and make the first load of the form as quick as each subsequent one, and not sure if this is indeed possible.

Any light shed on this would be most appreciated.

Many thanks

Julian
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 3:41
mvePete O'Hanlon16-Feb-12 3:41 
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 
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 

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.