memory-pool Questions
4
I keep hearing that memory pools can signficantly improve performance when allocating memory.. so why aren't they used in some way by traditional malloc implementations?
I know part of it is that ...
Monumental asked 8/5, 2020 at 20:34
6
Solved
I'm trying to understand what functions memalign() and posix_memalign() do. Reading the available documentation didn't help.
Can someone help me understand how it works and what is it used for? O...
Ruhl asked 3/7, 2011 at 13:20
3
Solved
To my understanding, a memory pool is a block, or multiple blocks of memory allocate on the stack before runtime.
By contrast, to my understanding, dynamic memory is requested from the operating sy...
Bashibazouk asked 30/5, 2017 at 4:52
2
Solved
I have troubles with memory. I'm using struct this way:
Package.h file
#pragma once
#include <cstdlib>
struct Package {
char *data;
long long int *packageNumber;
long long int *allPacka...
Ramires asked 9/11, 2015 at 16:5
3
Solved
I am trying to understand using memory pools for memory management, but I
can't find much about it, even though it seems to be a very common
mechanism.
All I know about this is that "Me...
Jewry asked 28/5, 2015 at 13:36
2
Solved
I'm running into some trouble with memory management related to bytes in Python3.2. In some cases the ob_sval buffer seems to contain memory that I cannot account for.
For a particular secure appl...
Eliason asked 23/2, 2015 at 14:36
2
Basically, I need a memory pool for fast allocation of small objects. Ideally, I'd like to replace allocations on both the host, and for memory allocated on GPUs with cudaMalloc. I can write ...
Kemberlykemble asked 26/1, 2015 at 15:40
5
I have a program that contains a processing phase that needs to use a bunch of different object instances (all allocated on the heap) from a tree of polymorphic types, all eventually derived from a...
Glaciology asked 4/5, 2013 at 19:50
1
I wrote custom operator new and operator delete for the class MyOrder. I am allocating memory using boost::singleton pool. Here is the program testing the performance,
#include <boost/pool/sing...
Insufferable asked 5/5, 2012 at 23:32
5
Solved
I need some clarifications for the concept & implementation on memory pool.
By memory pool on wiki, it says that
also called fixed-size-blocks allocation, ... ,
as those implementations ...
Abscond asked 19/7, 2011 at 13:31
2
Solved
I'm using a memory pool class which reuses allocated memory addresses and a custom allocator which wraps
that class. The following code snippet gives you a basic idea of the interface.
template<...
Photoelectric asked 6/7, 2011 at 12:45
2
Solved
I needed a simple non-blocking static-block-size memory-pool. I didn't find such on the web. So everyone, who needs such a solution. This one is free... only works on Win32.
Best regards,
Friedri...
Ninnetta asked 19/11, 2010 at 17:13
2
Solved
I would like to know how to adapt section 11.14 of the C++-FAQ-lite to arrays.
Basically, I would want something like this:
class Pool {
public:
void* allocate(size_t size) {...}
void deallocat...
Elate asked 24/2, 2010 at 0:3
1
© 2022 - 2024 — McMap. All rights reserved.