Virtual memory allocation library