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. Web Development
  3. ASP.NET
  4. heap vs managed heap

heap vs managed heap

Scheduled Pinned Locked Moved ASP.NET
visual-studioquestion
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.
  • S Offline
    S Offline
    sra22
    wrote on last edited by
    #1

    What is the difference between heap and managed heap.

    G 1 Reply Last reply
    0
    • S sra22

      What is the difference between heap and managed heap.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      A heap is a memory area that a memory manager uses for allocating memory. The managed heap is the heaps (four of them) that the memory manager in .NET uses to allocate memory for managed objects. If you allocate unmanaged memory from within .NET, it's allocated from the Windows heap instead of the managed heap. The .NET memory manager allocates memory from the Windows heap to use for the managed heap.

      --- single minded; short sighted; long gone;

      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