welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Reserve virtual memory

Filed under: Uncategorized — Tags: , , , , — admin @ 2018-06-16 13:42

I needed to load a huge amount of data into memory. It had to be a continuous chunk of memory and I could not tell the size from a beginning. C++ std::vector is a good candidate however its downside is that it reallocates and copies all data when it runs out of its current capacity. Virtual memory mapping to the rescue! (more…)