Skip to content
  • There are no suggestions because the search field is empty.

Enable logging for 'System.OutOfMemoryException' errors

If unhandled 'System.OutOfMemoryException' errors are occurring, additional logging can be enabled on a Windows computer.

In rare circumstances, Acctivate may close unexpectedly and display a message similar to this:

Unhandled exception trapped. Acctivate terminating:True "Exception of type 'System.OutOfMemoryException' was thrown." occurred

This means Acctivate ran low on available memory and had to shut down. It does not indicate data loss or a problem with your data. This can happen for various reasons, but it may point to a scenario where memory is being used and not released.

If this happens, the first step is to update to the latest build of Acctivate. If the issue continues, follow the steps below to set up your system to automatically save a diagnostic log (called a memory dump) so our Support team can pinpoint the cause and determine a solution.

These steps are for troubleshooting 'System.OutOfMemoryException' errors only. It will not provide any useful information for other errors.

The steps in this article must be followed exactly and carefully, since they involve modifying your computer's registry. If you have any concerns, ask your IT team for assistance.

Step 1 - Modify Registry

  1. In the Windows search bar, type Registry Editor to select and open the Registry Editor window.

  2. In the left navigation panel, expand HKEY_LOCAL_MACHINE > SOFTWARE > Microsof > Windows > Windows Error Reporting >LocalDumps
  3. Right-click on LocalDumps and select New > Key. Name the new folder Acctivate.exe
  4. Right-click on the new Acctivate.exe folder and select New > DWORD (32-bit) Value
  5. For the Name, enter DumpType
  6. Repeat the steps again, adding a new DWORD (32-bit) Value. For this one, change the Name to CustomDumpFlags. After changing the name, double click it to open the Edit DWORD (32-bit) Value window. In the Value data field, enter 00621826 and click OK.

Step 2 - Add Log Folder

  1. Open Windows Explorer, type %LOCALAPPDATA% into the address bar at the top and press Enter. It should take you to something like C:\Users\username\AppData\Local.
  2. If there's already a CrashDumps folder, you don't need to do anything. If not, click the New folder button and create a CrashDumps folder.

Step 3 - Collect Logs

Whenever an Unhandled exception occurs, a memory dump will automatically be saved in the CrashDumps folder mentioned above. Compress the logs into a .zip files and send to the Acctivate support team.