Top "Memory-management" questions

Process of dynamically allocating and freeing portions of physical memory in order to respond to program requests with, if possible, fairness and no starvation among the requesters.

What's the difference between .so, .la and .a library files?

I know an .so file is a kind of dynamic library (lots of threads can share such libraries so there …

linux memory-management static-libraries ld shared-libraries
What does this GCC error "... relocation truncated to fit..." mean?

I am programming the host side of a host-accelerator system. The host runs on the PC under Ubuntu Linux and …

c eclipse memory-management gcc embedded
What is the correct Performance Counter to get CPU and Memory Usage of a Process?

How can I get the CPU and Memory usage of a particular process using the .NET PerformanceCounter class? And also …

c# memory-management cpu-usage performancecounter
General guidelines to avoid memory leaks in C++

What are some general tips to make sure I don't leak memory in C++ programs? How do I figure out …

c++ memory memory-management raii
Implementing IDisposable correctly

In my classes I implement IDisposable as follows: public class User : IDisposable { public int id { get; protected set; } public string …

c# .net memory-management memory-leaks garbage-collection
Tricks to manage the available memory in an R session

What tricks do people use to manage the available memory of an interactive R session? I use the functions below […

memory-management r
Is delete this allowed?

Is it allowed to delete this; if the delete-statement is the last statement that will be executed on that instance …

c++ memory-management new-operator delete-operator self-destruction
What strategies and tools are useful for finding memory leaks in .NET?

I wrote C++ for 10 years. I encountered memory problems, but they could be fixed with a reasonable amount of effort. …

c# .net memory-management memory-leaks
Objective C - Assign, Copy, Retain

I'm new to Objective C. I have basic knowledge in C, including the concept of pointers. I have two basic …

ios objective-c macos memory-management attributes
Allowed memory size of X bytes exhausted

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13965430 bytes) PHPInfo shows that I have a memory_limit …

php memory memory-management out-of-memory memory-limit