Top "Heap" questions

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

Android Gradle Could not reserve enough space for object heap

I've installed Android Studio 1.1.0. I haven't done anything yet like start new Android application or import anything. Somehow it is …

android gradle jvm heap
Which is faster: Stack allocation or Heap allocation

This question may sound fairly elementary, but this is a debate I had with another developer I work with. I …

c++ performance memory stack heap
Finding the median of an unsorted array

To find the median of an unsorted array, we can make a min-heap in O(nlogn) time for n elements, …

algorithm heap median
Difference between javacore, thread dump and heap dump in Websphere

Can someone tell me the exact difference between javacore, thread dump and heap dump? Under which situation each of these …

java multithreading websphere heap dump
Detect application heap size in Android

How do you programmatically detect the application heap size available to an Android app? I heard there's a function that …

android memory heap heap-memory
Heap vs Binary Search Tree (BST)

What is the difference between a heap and BST? When to use a heap and when to use a BST? …

algorithm binary-tree heap binary-search-tree
How to view the current heap size that an application is using?

I think I increased my heap size to 1 GB in NetBeans since I changed the config to look like this: …

java netbeans heap heap-memory
Object creation on the stack/heap?

The following code creates an object on the stack: Object o; When creating an object on the heap we can …

c++ initialization stack heap
increase the java heap size permanently?

Is there a way that I can set the default heap size for the jvm on my own computer? I …

java size heap jvm-arguments
Difference between "on-heap" and "off-heap"

Ehcache talks about on-heap and off-heap memory. What is the difference? What JVM args are used to configure them?

java memory heap ehcache