This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error Loading lvanlys.dll, "Invalid Access to Memory Location"

Updated May 17, 2021

Reported In

Software

  • LabVIEW

Issue Details

I installed an older version of LabVIEW on my workstation. When I start LabVIEW, I receive an error message saying Error loading "C:\Program Files (x86)\National Instruments\LabVIEW 2010\resources\lvanlys.dll" Invalid access to memory location:

Solution

This problem occurs with LabVIEW versions prior to version 2012 on computers with 32 or more virtual cores. The number of cores refers to the number of cores reported by the operating system, so a CPU with 16 physical cores and Hyper-Threading Technology enabled already exceeds this limit. You can chose any of these solutions:
  • Upgrade your LabVIEW installation to version 2012 or newer.
  • Disable the Hyper-threading Technology in your computer's BIOS, if your CPU has less than 32 physical cores. Be aware this might impact the computer's overall performance as it lessens the computer's parallelization potential.
  • If your computer allows it, disable cores of your CPU until you have less than 32 virtual cores. This impacts your computer's performance.
  • Install LabVIEW inside a Virtual Machine that has less than 32 virtual cores assigned.
  • Check that the version installed is the 32-bits one.

Additional Information

The cause of the issue described above is a bug in an old version of Intel's MKL library. Since LabVIEW 2012, an updated, fixed version of that library is used.