About 26,800,000 results
Open links in new tab
  1. algorithm - Search an element in a heap - Stack Overflow

    You need to search through every element in the heap in order to determine if an element is inside. One optimization is possible, though (we assume a max heap here). If you have …

  2. java.lang.OutOfMemoryError: Java heap space - Stack Overflow

    If you want to increase your heap space, you can use java -Xms<initial heap size> -Xmx<maximum heap size> on the command line. By default, the values are based on the JRE …

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

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

  5. c++ - How to debug heap corruption errors? - Stack Overflow

    A bit late to the party, but I noticed a significant increase memory usage my the application I am debugging when I turned on Page Heap. Unfortunately up to the point the (32bit) application …

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

  7. Heap size in C# / .Net Framework - Can it grow and how?

    The heap in .Net is a portion of memory that for practical purposes can reach a maximum of around 1.5GB for 32-bit processes and unlimited for 64-bit (again, for practical purposes), and …

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

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

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