memory-management 514

  1. What and where are the stack and heap?
  2. Can a local variable's memory be accessed outside its scope?
  3. How do I discover memory usage of my application in Android?
  4. Why should C++ programmers minimize use of 'new'?
  5. Why is my program slow when looping over exactly 8192 elements?
  6. What are the Xms and Xmx parameters when starting JVMs?
  7. Which Python memory profiler is recommended?
  8. Tricks to manage the available memory in an R session
  9. How do I determine the size of an object in Python?
  10. What is private bytes, virtual bytes, working set?
  11. How to allocate aligned memory only using the standard library?
  12. In what cases do I use malloc vs new?
  13. What uses are there for “placement new”?
  14. Deleting Objects in JavaScript
  15. Peak memory usage of a linux/unix process
  16. Does using “new” on a struct allocate it on the heap or stack?
  17. What is the difference between new/delete and malloc/free?
  18. Is it safe to delete a NULL pointer?
  19. How do malloc() and free() work?
  20. Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
  21. How can I explicitly free memory in Python?
  22. C++ new int[0] — will it allocate memory?
  23. @property and retain, assign, copy, nonatomic in Objective-C
  24. Is delete this allowed?
  25. How to Free Inode Usage?
  26. What is the difference between a weak reference and an unowned reference?
  27. Why is @autoreleasepool still needed with ARC?
  28. Setting Objects to Null/Nothing after use in .NET
  29. Retain cycle on `self` with blocks
  30. What's the difference between .so, .la and .a library files?
  31. Compelling examples of custom C++ allocators?
  32. Total memory used by Python process?
  33. Why would you use an ivar?
  34. Does delete call the destructor?
  35. What does “Memory allocated at compile time” really mean?
  36. Reducing Django Memory Usage. Low hanging fruit?
  37. How to initialise memory with new operator in C++?
  38. What does Visual Studio do with a deleted pointer and why?
  39. What strategies and tools are useful for finding memory leaks in .NET?
  40. Proper stack and heap usage in C++?
  41. Retrieve CPU usage and memory usage of a single process on Linux?
  42. ios app maximum memory budget
  43. Memory footprint of Haskell data types
  44. General guidelines to avoid memory leaks in C++
  45. Python memory leaks
  46. In which situations do we need to write the __autoreleasing ownership qualifier under ARC?
  47. UIPopovercontroller dealloc reached while popover is still visible
  48. Explanation of strong and weak storage in iOS5
  49. Calculate size of Object in Java
  50. What is the maximum amount of RAM an app can use?