The same error message can occur on different NI-IMAQ/IMAQdx VIs.
Depends on the operating system and LabVIEW bitness there are different memory size, which LabVIEW can allocate.
More specific information regarding the memory which LabVIEW can allocate on a different bitness of operating system, you can find in this How Much Memory Can LabVIEW 32-bit or 64-bit Allocate?
There must be enough contiguous free memory available to accommodate an image when it is acquired. If the system does not have the required amount of contiguous free memory, then the image cannot be created.
There are a few options, which could solve the issue, described below:
1) One way to improve the chances that a large enough contiguous memory block exists is to remove as many startup applications as possible, then reboot the machine. With many programs loaded, fewer large contiguous memory blocks are available
2) If the option described above does not give a necessary result, try to remove from the project all unuseful VIs, etc.
3) At the end, if the steps, described above does not help, and if you are using LabVIEW 32-bit, running the program on LabVIEW 64-bit, which can access more memory, could be a workaround.