Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Memory required by a form

Memory required by a form

Scheduled Pinned Locked Moved Visual Basic
mcpperformancequestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gagnon Claude
    wrote on last edited by
    #1

    Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude

    L D 2 Replies Last reply
    0
    • G Gagnon Claude

      Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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[^]

      1 Reply Last reply
      0
      • G Gagnon Claude

        Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        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

        G 1 Reply Last reply
        0
        • D 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 Kreskowiak

          G Offline
          G Offline
          Gagnon Claude
          wrote on last edited by
          #4

          Hi, The fourth one.

          D 1 Reply Last reply
          0
          • G Gagnon Claude

            Hi, The fourth one.

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Then you'll need a memory profiler, as Eddie linked to.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups