My background knowledge: To my understanding, to be allocated/used properly, memory must be contiguous in the virtual address space, but doesn't have ...
My background knowledge: To my understanding, to be allocated/used properly, memory must be contiguous in the virtual address space, but doesn't have ...
Our clients experience OOM in some specific scenarios and we can't pinpoint any memory leaks so we would like to understand if it's a memory fragmenta ...
The C#/.NET application I am working on makes use of huge byte arrays and is having memory fragmentation issues. Checked memory usage using CLRMemory ...
I have been learning C++, and have come across the topics of custom memory allocators. I have understood that by designing an allocator and using this ...
I found out there are kernel drivers for Contiguous memory allocations. I though malloc coalesced memory and return best fit and if memory wasn't avai ...
Let me clear up: I understand how new and delete (and delete[]) work. I understand what the stack is, and I understand when to allocate memory on the ...
I am about to write a class representing a double-ended queue, just like std::dequeue, but with the capability to store any trivially destructible typ ...
I've got a headless ARM-based Linux (v3.10.53-1.1.1) system with no swap space enabled, and I occasionally see processes get killed by the OOM-killer ...
My understanding of hash tables is that they use hash functions to relate keys to locations in memory, with a total number of "buckets" pre-allocated ...
Does malloc wory about internal fragmentation in linux kernel? For example when I want to allocate 5 pages, will malloc round up size to make it power ...
I realize there's no way to avoid it for certain, as OpenGL says nothing about VRAM fragmentation. But all the same, I have fragmentation in my app a ...
In C program I face transactions that require to have alot of memory chunks, I need to know if there is an algorithm or best practice teqnique used to ...
So basically whenever I create buffer objects Opengl allocates some memory on the GPU. Consider scenario 1 where I generate 2 uniform buffers for 2 ...
I am running a C# application that services HTTP requests. I have noticed recently that it's taking up more memory then I expect. I grabbed some dumps ...
massif output: process shows 1.2GB in VmRss, so the huge difference comes from where? (I saw Rss grows up continuously). ...
I know that there is a lot of questions regarding the issue I'm pointing here, but I couldn't find any complex answer (neither on StackOverflow nor in ...
I'm making a small project that makes some POST request to an webserver and do some tasks based on server response. Server always respond with JSON or ...
Short background: I'm developing a system that should run for months and using dynamic allocations. The question: I've heard that memory fragment ...
When I use malloc()s and free()s randomly, nested and with different sizes, at some point the memory will be fragmented because these operations leave ...
So a professor in university just told me that using concatenation on strings in C# (i.e. when you use the plus sign operator) creates memory fragment ...