Use this tag for memory management or issues in programming.
Is there any good way to get the remaining memory available to the JVM at run time? The use case …
java performance web-services memory operating-systemI've heard the term "memory fragmentation" used a few times in the context of C++ dynamic memory allocation. I've found …
c++ memory heap fragmentationI don't understand the difference between assignment constructor and copy constructor in C++. It is like this: class A { public: …
c++ memoryI am keen to look into Scala, and have one basic question I cant seem to find an answer to: …
java performance scala memoryAdmittedly I don't get it. Say you have a memory with a memory word of length of 1 byte. Why can't …
memory alignment memory-alignmentIs there a way in C to find out the size of dynamically allocated memory? For example, after char* p = …
c memory dynamic size allocationI am interested in where string literals get allocated/stored. I did find one intriguing answer here, saying: Defining a …
c memory string-literalsI acknowledge that all three of these have a different meaning. But, I don't understand on what particular instances would …
c memory allocation malloc