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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Memory of the COM objects get allocated?

Memory of the COM objects get allocated?

Scheduled Pinned Locked Moved ATL / WTL / STL
questioncomperformance
2 Posts 2 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.
  • K Offline
    K Offline
    Killer3
    wrote on last edited by
    #1

    Hi Question 1: When we create an COM object in a Process where does the memory of the COM objects get allocated? Question 2: Does the memory allocated to the COM object contributed to increase in Virtual memory of the process where it is instantiated.? Question 3: What is the relation between virtual memory of a process and private bytes of the process? for Ilanthendral(KillerInstincts)

    for thendral

    G 1 Reply Last reply
    0
    • K Killer3

      Hi Question 1: When we create an COM object in a Process where does the memory of the COM objects get allocated? Question 2: Does the memory allocated to the COM object contributed to increase in Virtual memory of the process where it is instantiated.? Question 3: What is the relation between virtual memory of a process and private bytes of the process? for Ilanthendral(KillerInstincts)

      for thendral

      G Offline
      G Offline
      Gupta Suraj
      wrote on last edited by
      #2

      When we create a COM Object in a Process memory of the COM Objects get allocated in 'Heap Portion' allocated to the process. And yes memory allocated to the COM Object contributes to increase in virtual memory of the process. And regarding third question, actullay I could understand what you are trying to ask? Can you please clarify 'private bytes' of the process. Thanks, Suraj

      Suraj Gupta

      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