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

  4. What is the use of the Heap data structure? - Stack Overflow

    A heap must have each node satisfying the heap property, the max-heap property is that for every node i other then the root, Heap [Parent (i)] >= Heap [i] So at each node, the higher nodes have higher …

  5. How is the default max Java heap size determined?

    initial heap size: Larger of 1/64th of the machine's physical memory on the machine or some reasonable minimum. Before J2SE 5.0, the default initial heap size was a reasonable minimum, which varies by …

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

  7. c++ - Stack Memory vs Heap Memory - Stack Overflow

    Stack and heap memory is the abstraction over the memory model of the virtual memory ( which might swap memory between disk and RAM). So both stack and heap memory physically might be RAM or …

  8. FATAL ERROR: Ineffective mark-compacts near heap limit Allocation ...

    FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory in Ionic 3 Asked 7 years, 2 months ago Modified 10 months ago Viewed 1.4m times

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

  10. Could not reserve enough space for object heap - Stack Overflow

    I have 3 java applications that start with 1024m or 1280m heap size. Java is looking at the available space in swap, and if there is not enough memory available, the jvm exits.