About 48,900 results
Open links in new tab
  1. What and where are the stack and heap? - Stack Overflow

    Sep 17, 2008 · What makes one faster? The stack is faster because the access pattern makes it trivial to allocate and deallocate memory from it (a pointer/integer is simply incremented or …

  2. c++ - Stack Memory vs Heap Memory - Stack Overflow

    Stack and heap memory is the abstraction over the memory model of the virtual memory ( which might swap memory between disk and RAM). So both stack and heap memory physically …

  3. Stack, Static, and Heap in C++ - Stack Overflow

    Nov 2, 2015 · You run out of memory when the stack meets the dynamic allocator somewhere in the middle (but refer to physical versus virtual memory and fragmentation). Multiple threads …

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

  5. When is it best to use the stack instead of the heap and vice versa?

    Sep 19, 2008 · If you use heap for the object, you get the as much memory the OS can provide, much larger than the stack, but then again you must make sure to free the memory when you …

  6. Which is faster: Stack allocation or Heap allocation

    Oct 2, 2008 · 549 Stack allocation is much faster since all it really does is move the stack pointer. Using memory pools, you can get comparable performance out of heap allocation, but that …

  7. Is accessing data in the heap faster than from the stack?

    Jun 5, 2014 · Accessing from heap is slightly slower cause of the indirection, look at @PlasmaHH comment. There's no difference between stack and heap memory, they are both somewhere …

  8. Does Python have a stack/heap and how is memory managed?

    Jan 27, 2013 · The management of this private heap is ensured internally by the Python memory manager. The Python memory manager has different components which deal with various …

  9. O que são e onde estão a "stack" e "heap"?

    Uma stack (ou pilha), neste contexto, é uma forma otimizada para organizar dados na memória alocados em sequência e abandonados (sim, normalmente não há desalocação) em …

  10. c - Size of stack and heap memory - Stack Overflow

    Oct 2, 2012 · What and where are the stack and heap? With regard to the basic concepts of memory layout in a c program, I understand the that: The language uses two primary data …