Tag: heap

7332 What and where are the stack and heap? 2008-09-17T04:18:06.337

773 Why should C++ programmers minimize use of 'new'? 2011-06-28T00:08:14.313

462 Which is faster: Stack allocation or Heap allocation 2008-10-02T06:06:28.067

329 How can building a heap be O(n) time complexity? 2012-03-18T03:15:59.250

317 How is the default Java heap size determined? 2011-01-12T10:06:38.430

310 java.lang.OutOfMemoryError: GC overhead limit exceeded 2011-04-30T03:49:33.197

230 Could not reserve enough space for object heap 2010-12-09T17:46:37.937

203 Find running median from a stream of integers 2012-05-18T17:56:11.370

196 Priority queue in .Net 2008-09-19T14:43:54.277

177 How do I analyze a .hprof file? 2008-10-09T04:04:03.480

167 Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss 2009-02-12T19:58:42.857

164 What is memory fragmentation? 2010-09-22T14:49:09.220

152 How to debug heap corruption errors? 2009-06-18T00:01:42.190

147 Difference between sampling and profiling in jVisualvm 2012-08-26T12:26:32.320

142 Stack, Static, and Heap in C++ 2009-01-03T05:41:58.270

135 What do I use for a max-heap implementation in Python? 2010-03-23T15:58:02.993

133 Detect application heap size in Android 2010-04-13T14:09:56.363

126 When vectors are allocated, do they use memory on the heap or the stack? 2011-11-07T12:25:35.093

125 Heap vs Binary Search Tree (BST) 2011-05-27T02:30:45.483

121 Proper stack and heap usage in C++? 2009-03-01T05:32:24.393

121 Arrays, heap and stack and value types 2009-07-11T14:30:11.580

121 Command-line Tool to find Java Heap Size and Memory Used (Linux)? 2012-10-09T10:03:10.317

118 Why are two different concepts both called "heap"? 2009-11-09T04:12:57.923

111 What does "zend_mm_heap corrupted" mean 2010-02-11T21:49:52.627

107 Difference between "on-heap" and "off-heap" 2011-05-22T23:56:30.423

100 How to give Jenkins more heap space when it´s started as a service under Windows? 2011-05-09T11:56:42.183

83 Is it ever OK to *not* use free() on allocated memory? 2014-03-18T13:38:36.923

76 Is a Java array of primitives stored in stack or heap? 2010-01-20T07:29:36.757

75 When would I want to use a heap? 2009-04-14T20:18:16.457

74 Java very large heap sizes 2008-10-18T01:35:13.390

74 Why not use pointers for everything in C++? 2009-06-30T15:26:02.750

73 What's the differences between VirtualAlloc and HeapAlloc? 2009-05-16T09:38:41.190

73 Android Gradle Could not reserve enough space for object heap 2015-05-05T06:10:25.033

72 How to analyze memory using android studio 2014-07-03T07:28:04.067

68 Memory allocation: Stack vs Heap? 2010-12-20T06:02:25.423

68 Android heap size on different phones/devices and OS versions 2011-03-18T10:07:47.893

62 Android: BitmapFactory.decodeStream() out of memory with a 400KB file with 2MB free heap 2012-08-05T21:36:04.293

60 Worst case in Max-Heapify - How do you get 2n/3? 2012-02-01T16:05:53.820

59 Setting JVM heap size at runtime 2009-04-18T11:13:48.180

55 What's the advantage of using std::allocator instead of new in C++? 2015-07-11T15:36:06.647

54 How do I set Java's min and max heap size through environment variables? 2009-01-06T16:16:38.503

53 How to increase application heap size in Eclipse? 2013-03-09T16:58:26.140

52 Do Java primitives go on the Stack or the Heap? 2010-09-05T15:45:35.390

51 What Happens When Stack and Heap Collide 2009-08-26T11:26:45.663

50 What is the difference between "new" and "malloc" and "calloc" in C++? 2009-04-30T16:47:59.060

50 How do I find the median of numbers in linear time using heaps? 2010-04-05T17:38:19.990

49 Calling delete on variable allocated on the stack 2009-01-14T03:41:58.687

48 Java Refuses to Start - Could not reserve enough space for object heap 2009-06-29T13:57:53.550

48 Recommendations for a heap analysis tool for Java? 2010-01-14T13:43:47.923

48 Jmap can't connect to make a dump 2010-05-26T14:39:47.007

47 Creating "classes" in C, on the stack vs the heap? 2015-07-28T10:00:58.143

46 Increase JVM heap size for Scala? 2009-09-17T21:09:40.727

46 How to view the current heap size that an application is using? 2010-01-06T19:09:12.630

46 Is there a way to lower Java heap when not in use? 2011-02-10T01:40:00.920

46 Is memory allocation a system call? 2011-06-30T05:34:37.390

45 Difference between javacore, thread dump and heap dump in Websphere 2009-08-19T14:55:56.187

42 How to delete in a heap data structure? 2012-01-02T20:38:55.317

42 Invalid heap address and fatal signal 11 2012-05-19T05:01:14.087

41 Object creation on the stack/heap? 2012-04-14T20:31:47.263

40 Is there a reason to call delete in C++ when a program is exiting anyway? 2009-03-24T15:05:38.067

40 increase the java heap size permanently? 2009-05-19T03:38:13.097

40 Is there a PriorityQueue implementation with fixed capacity and custom comparator? 2011-10-24T15:28:01.607

40 How to implement O(logn) decrease-key operation for min-heap based Priority Queue? 2013-06-09T11:21:21.007

40 What is Python's heapq module? 2013-11-14T13:54:16.953

39 what happens in the kernel during malloc? 2011-04-19T12:09:17.680

38 How to optimize gradle build performance regarding build duration and RAM usage? 2012-03-21T16:10:26.367

38 Finding the median of an unsorted array 2012-05-19T03:13:41.407

36 What do those strange class names in a java heap dump mean? 2009-07-06T14:08:44.713

36 How to dynamically monitor Java heap size? 2010-01-29T16:12:11.977

36 Where are all the static members stored? 2016-07-27T11:43:44.940

35 PriorityQueue/Heap Update 2009-04-03T16:58:26.867

35 Suggestions to avoid bitmap Out of Memory error 2013-01-09T12:32:25.010

34 How can I implement decrease-key functionality in Python's heapq? 2009-09-23T12:23:52.387

34 Size of stack and heap memory 2012-10-02T08:56:43.153

33 Understanding max JVM heap size - 32bit vs 64bit 2010-03-16T19:40:09.483

33 What is a contiguous memory block? 2010-10-30T15:32:30.357

33 How do I give Jenkins more heap space when it's running as a daemon on Ubuntu? 2013-02-07T22:21:53.243

32 Why is the maximum size of the Java heap fixed? 2010-01-21T13:55:46.897

32 How do I turn off the fault tolerant heap? 2011-02-16T18:16:56.883

32 Heap vs Stack vs Perm Space 2011-07-23T16:13:58.830

31 O(klogk) time algorithm to find kth smallest element from a binary heap 2011-10-04T16:15:42.550

31 Why is memory split up into stack and heap? 2011-11-17T19:51:00.620

30 Is there a standard Java implementation of a Fibonacci heap? 2011-06-08T03:17:17.147

30 JVM heap replication between two machines 2011-07-24T05:39:38.290

30 Is a String literal stored on the stack? Is a new String stored on the stack? 2012-04-03T10:47:58.517

30 Python: delete element from heap 2012-04-15T14:00:35.473

29 What's the relationship between "a" heap and "the" heap? 2009-04-16T16:09:43.070

29 string.c_str() deallocation necessary? 2012-01-12T22:58:58.680

29 Android Understanding Heap Sizes 2012-05-20T22:45:22.963

28 SQL Server heap v.s. clustered index 2009-08-27T14:13:17.170

28 Java -Xms initial size effects 2010-03-28T08:41:14.857

28 How to make heapq evaluate the heap off of a specific attribute? 2010-10-17T18:06:26.990

28 Stack vs. Heap in Javascript? (Maximum call stack size exceeded) 2012-06-25T16:35:21.710

27 Can a C++ class determine whether it's on the stack or heap? 2010-01-13T05:47:24.047

27 Program stack and heap, how do they work? 2010-01-14T19:52:44.717

27 Specifically, how does fork() handle dynamically allocated memory from malloc() in Linux? 2011-01-04T20:06:14.713

26 Java collections faster than c++ containers? 2013-08-16T07:35:23.460

26 Why in a heap implemented by array the index 0 is left unused? 2014-04-06T21:41:56.337

26 Is accessing data in the heap faster than from the stack? 2014-06-05T10:09:46.123