Click here to Skip to main content

.NET Framework

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: Wide table visualization PinmemberTPIRick3:12 17 Feb '12  
AnswerRe: Wide table visualization PinmvpDave Kreskowiak4:08 18 Feb '12  
AnswerRe: Wide table visualization PinmemberEddy Vluggen4:15 18 Feb '12  
AnswerRe: Wide table visualization Pinmemberjschell9:55 20 Feb '12  
AnswerRe: Wide table visualization PinmvpLuc Pattyn12:18 20 Feb '12  
AnswerWORKAROUND/SOLUTION !!! PinmemberTPIRick10:09 7 Mar '12  
Question.Net 4.0 Win Forms Caching? Pinmemberjulian@giant3:34 16 Feb '12  
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? PinprotectorPete O'Hanlon3:41 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant4:59 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn4:06 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant4:54 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:11 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:19 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:33 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:13 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:04 22 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:10 22 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:32 22 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmvpDave Kreskowiak6:04 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:15 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn6:36 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? [modified] Pinmemberjulian@giant22:17 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinprotectorAspDotNetDev22:11 18 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmemberEddy Vluggen5:38 19 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:19 20 Feb '12  

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

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


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid