pogreb
pogreb copied to clipboard
cannot allocate memory on low memory systems
trying to create a database fails with: cannot allocate memory. this system (32 bit arm) doesn't have much memory (425 MB in total, 98 MB free), but creating a database should not fail with memory error.
[zafer@bpi playground-go]$ ./playground
2025/01/20 13:43:40 opening index: opening overflow index: cannot allocate memory
[zafer@bpi playground-go]$ ./playground
pogreb: moving non-segment files...
pogreb: moved main.pix to main.pix.bac
pogreb: moved overflow.pix to overflow.pix.bac
2025/01/20 13:43:48 opening index: opening overflow index: cannot allocate memory
[zafer@bpi playground-go]$
Thanks for the bug report! Could you please share more details about the environment? The hardware, the OS version, storage type, file system, free disk space. Once I know more I can try to reproduce the issue.