About 13,900,000 results
Open links in new tab
  1. 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 …

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

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

  4. Heap Memory in C Programming - Stack Overflow

    What exactly is heap memory? Whenever a call to malloc is made, memory is assigned from something called as heap. Where exactly is heap. I know that a program in main memory is …

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

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

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

  9. How can I find Java heap size and memory used (Linux)?

    How can I check heap size (and used memory) of a Java application on Linux through the command line? I have tried through jmap. But it gives information about internal memory …

  10. What do I use for a max-heap implementation in Python?

    Python includes the heapq module for min-heaps, but I need a max-heap. What should I use for a max-heap implementation in Python?