About 51 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 scope? …

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

  3. O que são e onde estão a "stack" e "heap"?

    O que são esses tais de stack e heap que tanto se fala em gerenciamento de memória? Isso realmente são porções da memória como algumas pessoas falam ou é apenas um conceito abstrato para …

  4. 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 order, individual …

  5. How to deal with "java.lang.OutOfMemoryError: Java heap space" error?

    Here is an example of increasing maximum heap size of JVM, Also its better to keep -Xmx to -Xms ration either 1:1 or 1:1.5 if you are setting heap size in your java application.

  6. Heap corruption: What could the cause be? - Stack Overflow

    I am investigating a crash due to heap corruption. As this issue is non-trivial and involves analyzing the stack and dump results, I have decided to do a code review of files related to the crash. ...

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

    Mar 18, 2012 · 947 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 are leaves, and …

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

  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 areas, like Eden, Perm...

  10. 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. Allocating from the heap …