About 5,570,000 results
Open links in new tab
  1. What and where are the stack and heap?

    Sep 17, 2008 · The Heap. The heap is a region of your computer's memory that is not managed automatically for you, and is not as tightly managed by the CPU. It is a more free-floating …

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

    Nov 13, 2015 · 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 …

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

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

    Apr 14, 2009 · "A heap is a tree where a parent node's value is larger than that of any of its descendant nodes." This is not correct. This is a max heap (and min heap also exists). And in …

  5. O que são e onde estão a "stack" e "heap"? - Stack Overflow em …

    Custo do heap. A alocação no heap "custa" caro. Muitas tarefas devem ser realizados pelo sistema operacional para garantir a perfeita alocação de uma área para um trecho dele, …

  6. Understanding how to create a heap in Python - Stack Overflow

    Oct 5, 2012 · The heap is represented internally in an array where if a node is at k, it's children are at 2*k and 2*k + 1. The first element of the array is not used, to make the math more …

  7. What are the -Xms and -Xmx parameters when starting JVM?

    Feb 7, 2013 · There are three heap sizes: used, committed, and max. Used heap size can be less than -Xms, but committed heap size (i.e. allocated from the OS via malloc()) is always at least …

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

    Heap the data structure dates back to the mid-60s; heap the memory pool, the early-70s. The term heap (meaning memory pool) was used at least as early as 1971 by Wijngaarden in …

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

    May 25, 2012 · 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 …

  10. java - JVM heap parameters - Stack Overflow

    Jul 8, 2009 · -Xms and -Xmx simply specifies the range in which the JVM can operate and resize the heap. If -Xms and -Xmx are the same value, then the JVM's heap size will stay constant at …

Refresh