Out of memory error since 2.2

Hi! Since updating to Duplicati 2.2, I cannot complete backups anymore, I’m getting an out of memory error.

I tried to delete & repair the database, but that didn’t help. Then I exported the config, deleted the backup and the remote files, then reimported the backup config, but it still fails. Here’s the log of the fresh first backup I tried:

Backup log

{
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“ModifiedFiles”: 0,
“ExaminedFiles”: 702053,
“OpenedFiles”: 702053,
“AddedFiles”: 702053,
“SizeOfModifiedFiles”: 0,
“SizeOfAddedFiles”: 33104530827,
“SizeOfExaminedFiles”: 33104530827,
“SizeOfOpenedFiles”: 33104530827,
“NotProcessedFiles”: 0,
“AddedFolders”: 0,
“TooLargeFiles”: 0,
“FilesWithError”: 0,
“TimestampChangedFiles”: 0,
“ModifiedFolders”: 0,
“ModifiedSymlinks”: 0,
“AddedSymlinks”: 0,
“DeletedSymlinks”: 0,
“PartialBackup”: false,
“Dryrun”: false,
“MainOperation”: “Backup”,
“CompactResults”: null,
“VacuumResults”: null,
“DeleteResults”: null,
“RepairResults”: null,
“TestResults”: null,
“ParsedResult”: “Fatal”,
“Interrupted”: false,
“Version”: “2.2.0.0 (2.2.0.0_stable_2025-10-23)”,
“EndTime”: “2025-11-03T16:05:19.6396827Z”,
“BeginTime”: “2025-11-03T15:40:24.2510351Z”,
“Duration”: “00:24:55.3886476”,
“MessagesActualLength”: 1057,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 2,
“Messages”: [
“2025-11-03 16:40:24 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started”,
“2025-11-03 16:40:24 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2025-11-03 16:40:24 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: ()”,
“2025-11-03 16:40:24 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: QuotaInfo - Started: ()”,
“2025-11-03 16:40:24 +01 - [Information-Duplicati.Library.Main.Operation.BackupHandler-SnapshotFailed]: Failed to create a snapshot: Request to load AlphaVSS from a 32-bit process on a 64-bit operating system. This combination is not supported.”,
“2025-11-03 16:40:32 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ba0b84a0a9eaa4675a0183dcb89392361.dblock.zip (49.148 MiB)”,
“2025-11-03 16:40:32 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bc60b437ba4ad40a18975cc8dcba0b705.dblock.zip (49.629 MiB)”,
“2025-11-03 16:40:33 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b7e0465bb988c4a5792a75e4f46015040.dblock.zip (49.122 MiB)”,
“2025-11-03 16:40:33 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b76940c58ce9e417a81b24b695ee44fd9.dblock.zip (49.309 MiB)”,
“2025-11-03 16:40:33 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-ba0b84a0a9eaa4675a0183dcb89392361.dblock.zip (49.148 MiB)”,
“2025-11-03 16:40:33 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ibe4d16a4a04546299faa38ecbe64cbbf.dindex.zip (16.577 KiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-ibe4d16a4a04546299faa38ecbe64cbbf.dindex.zip (16.577 KiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b84e6b3764d0446198c85b670b38ba244.dblock.zip (49.348 MiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-b76940c58ce9e417a81b24b695ee44fd9.dblock.zip (49.309 MiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-i1b695783c47b495bbc1161be19922287.dindex.zip (17.412 KiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bc60b437ba4ad40a18975cc8dcba0b705.dblock.zip (49.629 MiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-iaae2ceda4e964dcaae08b242774c9ecc.dindex.zip (23.056 KiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-i1b695783c47b495bbc1161be19922287.dindex.zip (17.412 KiB)”,
“2025-11-03 16:40:34 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b2909640948614597b449ff295cd70475.dblock.zip (49.073 MiB)”,
“2025-11-03 16:40:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-iaae2ceda4e964dcaae08b242774c9ecc.dindex.zip (23.056 KiB)”
],
“Warnings”: ,
“Errors”: [
“2025-11-03 17:05:19 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error\r\nSQLiteException: out of memory\r\nout of memory”,
“2025-11-03 17:05:19 +01 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Backup has failed\r\nSQLiteException: out of memory\r\nout of memory”
],
“BackendStatistics”: {
“RemoteCalls”: 528,
“BytesUploaded”: 13753208907,
“BytesDownloaded”: 0,
“FilesUploaded”: 526,
“FilesDownloaded”: 0,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 0,
“KnownFileSize”: 0,
“KnownFilesets”: 0,
“LastBackupDate”: “0001-01-01T00:00:00”,
“BackupListCount”: 0,
“TotalQuotaSpace”: 4327827480576,
“FreeQuotaSpace”: 1651783606272,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Interrupted”: false,
“Version”: “2.2.0.0 (2.2.0.0_stable_2025-10-23)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2025-11-03T15:40:24.2510372Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

It ran almost all the way through and failed at the very end. It did create 13 GB worth of remote data. But it still says “Last successful backup: N/A”.

Any help is appreciated!

I’m still entirely unable to create any backups. I tried to update to 2.2.0.103_canary_2026-01-08 but I still get the same System.OutOfMemoryException almost immediately after attempting a backup.

I also regularly see this in the log:

"2026-01-09 09:01:01 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error\r\nSQLiteException: unknown error\r\nNo transaction is active on this connection"

Any help still very much appreciated!

worries me. Especially now that you’re on Canary, you should pick carefully.

What is the full download file name, to be checked against Package options?

What OS is this? Do you know how to start Duplicati and watch memory use?

On Windows, Task Manager is a first step, but there are more advanced tools.

Do you know how much memory you have? Do other programs slow or error?

Fast change can be hard to watch. Original situation sounded slower.
If “almost immediately” was 1+ minutes, you can probably see things.

You can also use advanced options log-file=<path> log-file-log-level=information to log progress to review for where it was dying.

There might be more details needed, but they can grow too revealing.

Ah, I missed the VSS message, I’ll try to turn that off.

I downloaded duplicati-2.2.0.103_canary_2026-01-08-win-x86-gui.msi

The OS is Windows 11 Pro 25H2. The computer has 32 GB of RAM, but some of it is often used by other programs. I’ll try again while everything is closed to see if that makes a difference.

I’ll try to increase the log level as you suggests. It shouldn’t be a problem to anonymize the file if needed.

Thanks for the help, I’ll try and report.

That’s the 32 bit version. I think 32 bit apps generally work on 64 bit though.
Possibly they may see more memory exhaustion – like the one that you got.

There’s always also the possibility of bugs on an unusual configuration that:

https://duplicati.com/download

doesn’t even seem to want to offer, but directly in GitHub, one can get them.

Well, verbose would be more detailed, but shows source files. Profiling is the
highest usual level, but can be pushed even more if one adds another option.

If 32 bit Duplicati on 64 bit Windows has issues, it’d be nice to look into them,
however it might wind up needing developer input to track down why it occurs.

Thanks for the help.

Yep, 32-bit version was the issue. With the 64-bit version it successfully completed the backup. Thanks for pointing that out, I wasn’t aware that I had the 32-bit version.

About the memory usage: During the “Counting” and “Backup” stages, the memory usage stayed within 200 to 500 MB and it’s during the “Verifying files” stage that it would usually stop and sometimes even crash. With the 64-bit version I now observe that memory usage spikes up to almost 3 GB during this last verification stage. I would say that indeed explains why the 32-bit version doesn’t work.

That said, I suppose there’s potential for optimizing memory usage during the file verification. I doubt that it inherently needs this much memory to perform this task.