Use this tag for memory management or issues in programming.
I have this piece of code in c: int q = 10; int s = 5; int a[3]; printf("Address of a: %d\n", (…
c memory stackI have been looking at memory allocation lately and I am a bit confused about the basics. I haven't been …
c++ memory allocation memory-managementI understand how malloc() works. My question is, I'll see things like this: #define A_MEGABYTE (1024 * 1024) char *some_memory; size_…
c memory memory-managementWhat are some tips to reduce the memory usage of .NET applications? Consider the following simple C# program. class Program { …
c# .net optimization memory memory-optimizationIf the real_usage argument is set to true the PHP DOCS say it will get the real size of …
php memory memory-managementThe following page table is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference …
memory memory-management operating-system virtualTools like 'ps' and 'top' report various kinds of memory usages, such as the VM size and the Resident Set …
linux macos memory memory-management freebsdIs there a function in PHP (or a PHP extension) to find out how much memory a given variable uses? …
php memory