Memory required by a form
-
Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude
-
Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude
Gagnon Claude wrote:
Does it has a tool to know the memory occupied by a form in a VB application?
Various companies supply memory-profilers, or, one could use the CLR Profiler[^] from Microsoft. You could also ask the Marshal.SizeOf[^] the form. Take in account that embedded objects (such as a Font) might exist once, and not use memory on each property-slot (only the size of a long for a pointer)
Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]
-
Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude
An utterly pointless question as you haven't specified which aspect of the forum you're talking about. Are you referring to the memory required to serial the data content of the form? Serialize the Form itself, just the controls or controls and content)? How much memory the code behind the Form is taking as the code runs? ...??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
An utterly pointless question as you haven't specified which aspect of the forum you're talking about. Are you referring to the memory required to serial the data content of the form? Serialize the Form itself, just the controls or controls and content)? How much memory the code behind the Form is taking as the code runs? ...??
A guide to posting questions on CodeProject[^]
Dave KreskowiakHi, The fourth one.
-
Hi, The fourth one.
Then you'll need a memory profiler, as Eddie linked to.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak