About 16,700,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. How is the java memory pool divided? - Stack Overflow

    Heap memory The heap memory is the runtime data area from which the Java VM allocates memory for all class instances and arrays. The heap may be of a fixed or variable size. The …

  4. 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?

  5. Heap Memory in C Programming - Stack Overflow

    Apr 6, 2017 · The heap is part of your process's address space. The heap can be grown or shrunk; you manipulate it by calling brk(2) or sbrk(2). This is in fact what malloc(3) does. …

  6. 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?

  7. 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 …

  8. Where do I set 'NODE_OPTIONS="--max-old-space-size=2048"'

    Jul 11, 2019 · The NODE_OPTIONS --max-old-space-size environment variable allows to increase Node's max heap size. Setting an environmental variable allows Node to read this …

  9. 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 …

  10. How can building a heap be O (n) time complexity? - Stack Overflow

    Mar 18, 2012 · 944 Can someone help explain how can building a heap be O (n) complexity? Inserting an item into a heap is O (log n), and the insert is repeated n/2 times (the remainder …