How Can I Prevent the Visio Memory Growth When Working with Large AgileForms Process Templates?

Symptoms

When the AgilePoint Envision user works on a large AgileForms process template, and clicks the Save option multiple times, the Visio incrementally occupies memory space. Sometimes, it impairs the content of the process template or shows the following error:

"Out of memory"

Cause

The Visio uses an increasing amount of memory each time a user uses Undo, and then saves the process. This causes the memory usage for Visio to grow over time.

Resolution

Use the following procedures to disable the Undo, including Ctrl+z in Microsoft Visio:

  1. Click Start > Run.
  2. In the Open field, type regedit.
  3. Click OK.
  4. In the Registry Editor window, navigate to the following location depending on the Visio bit version:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Ascentn\Envision - 64 bit Visio.
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ascentn\Envision - 32 bit Visio.
  5. Create a registry key with the following name and value.
    Name Value
    UndoEnabled false