pogreb icon indicating copy to clipboard operation
pogreb copied to clipboard

cannot allocate memory on low memory systems

Open zaydogan opened this issue 11 months ago • 1 comments

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]$ 

zaydogan avatar Jan 20 '25 13:01 zaydogan

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.

akrylysov avatar Jan 23 '25 19:01 akrylysov