Top "Heap" questions

A heap (data structure) is a tree that is ordered with respect to depth.

What do those strange class names in a java heap dump mean?

I'm trying to track down a memory leak in a java process, using jmap and jhat. Every time I do …

java debugging memory-leaks heap jmap
What Happens When Stack and Heap Collide

I am curious to know what happens when the stack and the heap collide. If anybody has encountered this, please …

c++ c memory stack heap
what is RMI TCP connection

I'm making a desktop application in java and am doing some memory optimisations. That made me come across two threads …

java memory optimization heap java-threads
Redis server can't run more than 1024M maxheap

I am running Redis 2.8.19 on Windows Server 2008. I get an error saying that I have insufficient disc space for my …

powershell memory redis heap windows-server-2008
Java - Heap vs Direct memory access

I recenty came across sun.misc.Unsafe class, allowing user to allocate,deallocate and in general access memory in a …

java memory-management heap memory-mapped-files bytebuffer
Can a C++ class determine whether it's on the stack or heap?

I have class Foo { .... } Is there a way for Foo to be able to separate out: function blah() { Foo foo; // …

c++ stack heap
Priority queue with dynamic item priorities

I need to implement a priority queue where the priority of an item in the queue can change and the …

algorithm heap priority-queue
Tools to analyze core dump from Node.js

If I use gcore to make a code dump of a Node.js process, what are the best tools to …

node.js heap instrumentation coredump
Use a heap overflow to write arbitrary data

I've been trying to learn the basics of a heap overflow attack. I'm mostly interested in using a corruption or …

c security heap exploit
Change priority of items in a priority queue

Using Scala 2.9 to implement a kind of Dijkstra algorithm (pseudo code) val queue = new PriorityQueue queue.insert(...) while (!queue.isEmpty) { …

algorithm scala data-structures heap priority-queue