Out of Memory Error When Protecting a Large (~264MB) .NET Executable
Posted: Thu Sep 04, 2025 1:29 pm
Hello Enigma Protector Community,
I'm hoping to get some advice on an "Out of memory" issue I'm facing. I'm trying to protect my C# .NET Framework application, but the process fails consistently.
My Environment:
The Enigma Protector Version: [ 7.80]
OS: [Windows 11 64-bit]
System RAM: [64 GB]
Application Details: It's a C# .NET application. The executable file (myapplication.exe) is quite large, approximately 264 MB.
The Problem:
The protection process starts and runs for about 90 seconds. It appears to fail during the "Searching for markers" phase. The final error message is ERROR: Unexpected exception: Out of memory.
My Questions:
Is the large file size (264 MB) the most likely cause of this out-of-memory error?
Is there a known file size limit for protection, or is this dependent on system RAM?
Are there any specific protection settings (e.g., related to code obfuscation, resource protection, or VM) that are particularly memory-intensive and could be adjusted when working with such large files?
Any guidance or suggestions would be greatly appreciated. Thank you for your time!
Below is the key part of the log from the protection attempt:
[21:14:04] Protecting file: C:\path\to\myapplication.exe
[21:14:04] Protection started...
[21:14:04] Input file size = 276818432 bytes
[21:14:04] Searching for markers
[21:15:58] ERROR: Unexpected exception: Out of memory
I'm hoping to get some advice on an "Out of memory" issue I'm facing. I'm trying to protect my C# .NET Framework application, but the process fails consistently.
My Environment:
The Enigma Protector Version: [ 7.80]
OS: [Windows 11 64-bit]
System RAM: [64 GB]
Application Details: It's a C# .NET application. The executable file (myapplication.exe) is quite large, approximately 264 MB.
The Problem:
The protection process starts and runs for about 90 seconds. It appears to fail during the "Searching for markers" phase. The final error message is ERROR: Unexpected exception: Out of memory.
My Questions:
Is the large file size (264 MB) the most likely cause of this out-of-memory error?
Is there a known file size limit for protection, or is this dependent on system RAM?
Are there any specific protection settings (e.g., related to code obfuscation, resource protection, or VM) that are particularly memory-intensive and could be adjusted when working with such large files?
Any guidance or suggestions would be greatly appreciated. Thank you for your time!
Below is the key part of the log from the protection attempt:
[21:14:04] Protecting file: C:\path\to\myapplication.exe
[21:14:04] Protection started...
[21:14:04] Input file size = 276818432 bytes
[21:14:04] Searching for markers
[21:15:58] ERROR: Unexpected exception: Out of memory
