Questions regarding process stack memory.
Could someone tell in general what goes to what (Harddrive,RAM, Stack or Heap) at runtime in C++ for these …
c++ memory heap-memory stack-memoryI want to know how the memory is being allocated in the following program: public class MemoryClass { public static void …
java memory memory-management heap-memory stack-memoryI have a question What happend when I declare a variable inside a method, for example. void myMethod() { Ship myShip = …
java concurrency heap-memory stack-memoryAn experienced C++ user told me that I should strive for using heap variables, i.e.: A* obj = new A("…
c++ variables heap-memory stack-memoryI'm trying to build a web-page for which I need to shovel around several 100MB of data in JavaScript. With …
javascript memory-management heap-memory stack-memoryI was reading this: http://en.wikipedia.org/wiki/Thread_safety Is the following function thread-safe? void foo(int y){ …
c++ thread-safety heap-memory stack-memoryStumbled upon this interview question somewhere, In C, Given a variable x, how do you find out if the space …
c++ c heap-memory stack-memoryIf I have a function that in that function I declare: Object arr[] = new Object[20]; Where are arr and the …
java arrays memory heap-memory stack-memorySo, I've always been a little fuzzy on C++ pointers vs. ... whatever the other one is called. Like, Object* pointer = …
c++ pointers variables heap-memory stack-memoryPossible Duplicate: In C++, why should new be used as little as possible? Where are automatic variables allocated in C++? …
c++ memory heap-memory stack-memory automatic-properties