Can LabVIEW EXE Be Configured To Utilize Virtual Memory Only?

Updated Aug 31, 2023

Reported In

Software

  • LabVIEW

Issue Details

I have a LabVIEW EXE built and wanting to use virtual memory only for its execution. Is it possible to do so?

Solution

No. CPU can only access physical memory so any program that runs code is going to use some physical memory.

It is possible to minimize physical memory usage by callingĀ EmptyWorkingSet(processId). The calling process must be running with admin priveleges and the effect will be temporary. As the program continues to execute any memory it needs will be paged back in.