All Questions
Tagged with heap memory-management
6 questions
4
votes
2
answers
257
views
C++ heap allocator using an explicit free list
Description
I've written a heap allocator in C++ using an explicit free list for organization. I've also written a series of unit tests and a microbenchmark using Catch2. At time of writing I've ...
11
votes
3
answers
4k
views
My own little memory manager in C
I have implemented a simple version of malloc() and its associated functions, free(), ...
1
vote
1
answer
690
views
Template binary heap with lambda function comparator C++
This heap will be used for A* search pathfinding in my 2D isometric game engine. It uses lambda functions (instead of std::less or ...
4
votes
2
answers
4k
views
Inefficient hash map operation provokes OutOfMemory: Java heap space error
I know I can increase the size of the heap but that seems like a poor solution.
This program runs correctly on small files but when run on large data sets it crashes with the OutOfMemory: Java heap ...
2
votes
1
answer
3k
views
Heap memory preallocation (intended for games)
Currently, in my games, I'm using new and delete to create entities and components. It works fine, but there are slowdowns when ...
5
votes
2
answers
8k
views
Min Heap implementation with Dijkstra's algorithm
I am implementing Dijkstra's Algorithm using Min Heap to speed up the code.
For a small number of nodes, the code is really running very fast. But for a large number of nodes, my code is throwing ...