ERROR: Can't allocate required memory!

Here is the modified version of your error log for sharing on an online forum, with the database name replaced:


07-10-2024 02:28:20 [Error] Failed to backup “DB_NAME” database with “Full” backup type: 7-zip archiver error. > (8)
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive:
1 file, 4929720320 bytes (4702 MiB)

Creating archive: F:\Temp\Pranas.NET\SQLBackupAndFTP\backup\DB_NAME202410070226.7z

Add new data to archive: 1 file, 4929720320 bytes (4702 MiB)

Enter password (will not be echoed):. Error:

ERROR: Can’t allocate required memory!

Why i am getting this error?

Hello Naushad,

Thank you for your message.

The error you are encountering is related to the 7-zip utility, which is running out of memory for some reason.

We recommend trying to adjust the 7-zip parameters (as shown in the screenshot below) to reduce memory usage. This might include lowering the compression level, changing the dictionary size, or using multi-threading options.

Kind regards,
Oleg