About 9,430,000 results
Open links in new tab
  1. malloc - What is a Memory Heap? - Stack Overflow

    Feb 22, 2010 · A memory heap is a location in memory where memory may be allocated at random access. Unlike the stack where memory is allocated and released in a very defined …

  2. What and where are the stack and heap? - Stack Overflow

    Sep 17, 2008 · What are the stack and heap? Where are they located physically in a computer's memory? To what extent are they controlled by the OS or language run-time? What is their …

  3. heap - python, heapq: difference between heappushpop () and …

    I couldn't figure out the difference (other than ordinality of push/pop actions) between functions heapq.heappushpop () and heapq.heapreplace () when i tested out the following code. >>> from

  4. Why are two different concepts both called "heap"? [duplicate]

    Why are the runtime heap used for dynamic memory allocation in C-style languages and the data structure both called "the heap"? Is there some relation?

  5. When vectors are allocated, do they use memory on the heap or …

    Nov 7, 2011 · Type* pointers are stored on heap, because amount of the pointers can change dynamically. vect in this case is allocated on stack, because you defined it as a local stack …

  6. When would I want to use a heap? - Stack Overflow

    Apr 14, 2009 · Besides the obvious answer of a Priority Queue, when would a heap be useful in my programming adventures?

  7. How is the java memory pool divided? - Stack Overflow

    The heap is the main pool of memory, accessible to the whole of the application. If there is not enough memory available to allocate for that object, the JVM attempts to reclaim some …

  8. Visual Studio - how to find source of heap corruption errors

    I wonder if there is a good way to find the source code that causes a heap corruption error, given the memory address of the data that was written 'outside' the allocated heap block in Visual …

  9. JVM and heap size in a pod on kubernetes - Stack Overflow

    Dec 8, 2023 · -Xms (Initial Heap Size): This parameter sets the initial size of the heap when the JVM starts. It is the amount of memory that the JVM initially requests from the operating …

  10. c# - Memory allocation: Stack vs Heap? - Stack Overflow

    I am getting confused with memory allocation basics between Stack vs Heap. As per the standard definition (things which everybody says), all Value Types will get allocated onto a Stack and …