Disable DEP in Windows 7 or Windows Server 2008

Problem

Dataloy VMS crashes randomly on Windows 7/Windows Server 2008, but especially during startup or when when opening the Dataloy Distance Table (DDT) module. The error tends to happen mainly in ieEmbed.exe or rtutils.dll. What causes it and how can this be prevented/fixed?

Solution

If DEP (Data Execution Protection) in Windows is enabled, it will interfere with Java Garbage Collection if starting during a call to native code. These calls can typically happen when getting a network connection and when opening the browser module. To prevent the issue java.exe, javaw.exe and javaws.exe must be excluded from the DEP.

To exclude java.exe, javaw.exe and javaws.exe from DEP:

  1. Click Start on your PC.
  2. Locate and right-click Computer
  3. Select Properties.
  4. In the Properties field select Advanced Systems Settings.
  5. Go to Performance and click Settings.
  6. Select the Data Execution Prevention tab.
  7. Click Add...

  8. Add one at a time the files:
    Note: File location: Java Installation Directory (may sometimes be located in WINDOWS/SYSTEM32).

    jave.exe
    javaw.exe

    javaws.exe

  9. Click OK.