<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Heap Implementation in Java with Code</title><link>http://www.bing.com:80/search?q=Heap+Implementation+in+Java+with+Code</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Heap Implementation in Java with Code</title><link>http://www.bing.com:80/search?q=Heap+Implementation+in+Java+with+Code</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>What and where are the stack and heap? - Stack Overflow</title><link>https://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap</link><description>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? What determines their ...</description><pubDate>Wed, 25 Mar 2026 17:01:00 GMT</pubDate></item><item><title>When would I want to use a heap? - Stack Overflow</title><link>https://stackoverflow.com/questions/749199/when-would-i-want-to-use-a-heap</link><description>Besides the obvious answer of a Priority Queue, when would a heap be useful in my programming adventures?</description><pubDate>Sat, 11 Apr 2026 12:52:00 GMT</pubDate></item><item><title>What is the use of the Heap data structure? - Stack Overflow</title><link>https://stackoverflow.com/questions/5227976/what-is-the-use-of-the-heap-data-structure</link><description>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)] &gt;= Heap [i] So at each node, the higher nodes have higher numbers, lower nodes have lower numbers. I understand this. But I can't see a use of a Heap other then to simply get the highest n numbers in a list.</description><pubDate>Mon, 06 Apr 2026 22:30:00 GMT</pubDate></item><item><title>What's the relationship between "a" heap and "the" heap?</title><link>https://stackoverflow.com/questions/756861/whats-the-relationship-between-a-heap-and-the-heap</link><description>A heap is a tree data structure where higher levels of the tree always contain greater (or lesser, if it's set up that way) values than lower levels. "The" heap is a bunch of free RAM that a progr...</description><pubDate>Fri, 10 Apr 2026 18:01:00 GMT</pubDate></item><item><title>java.lang.OutOfMemoryError: Java heap space - Stack Overflow</title><link>https://stackoverflow.com/questions/1596009/java-lang-outofmemoryerror-java-heap-space</link><description>If you want to increase your heap space, you can use java -Xms&lt;initial heap size&gt; -Xmx&lt;maximum heap size&gt; on the command line. By default, the values are based on the JRE version and system configuration. You can find out more about the VM options on the Java website. However, I would recommend profiling your application to find out why your heap size is being eaten. NetBeans has a very good ...</description><pubDate>Tue, 14 Apr 2026 14:28:00 GMT</pubDate></item><item><title>Heap Memory in C Programming - Stack Overflow</title><link>https://stackoverflow.com/questions/10200628/heap-memory-in-c-programming</link><description>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 is more convenient than allocating memory on the stack because it persists after the calling routine returns; thus, you can call a routine, say funcA(), to allocate a bunch of memory and fill it with ...</description><pubDate>Sat, 11 Apr 2026 01:17:00 GMT</pubDate></item><item><title>O que são e onde estão a "stack" e "heap"?</title><link>https://pt.stackoverflow.com/questions/3797/o-que-s%c3%a3o-e-onde-est%c3%a3o-a-stack-e-heap</link><description>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 facilitar o</description><pubDate>Sun, 12 Apr 2026 10:06:00 GMT</pubDate></item><item><title>Stack, Static, and Heap in C++ - Stack Overflow</title><link>https://stackoverflow.com/questions/408670/stack-static-and-heap-in-c</link><description>The heap is a bunch of memory that can be used dynamically. If you want 4kb for an object then the dynamic allocator will look through its list of free space in the heap, pick out a 4kb chunk, and give it to you. Generally, the dynamic memory allocator (malloc, new, et c.) starts at the end of memory and works backwards.</description><pubDate>Sat, 11 Apr 2026 15:58:00 GMT</pubDate></item><item><title>jvm - How to deal with "java.lang.OutOfMemoryError: Java heap space ...</title><link>https://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error</link><description>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.</description><pubDate>Tue, 14 Apr 2026 16:30:00 GMT</pubDate></item><item><title>How can building a heap be O (n) time complexity? - Stack Overflow</title><link>https://stackoverflow.com/questions/9755721/how-can-building-a-heap-be-on-time-complexity</link><description>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 can't violate the heap property). So, this means the complexity should be O (n log n), I would think.</description><pubDate>Sun, 12 Apr 2026 17:01:00 GMT</pubDate></item></channel></rss>