ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error code 1450 - memory mapped file

Hello,

 

in my application I am using memory mapped files. I have three of it, the maximum size of the biggest one is 5MB. I store 64 Waveforms from a DAQ card in it. 

The application runs fine, but sometimes comes an error, when I try to access the MMF. The error code is 1450, "insufficient system resources"

 

Is a size of 5MB too big? Should I rather create one MMF for each waveform?

0 Kudos
Message 1 of 3
(3,720 Views)

Hi mitulatbati,

 

which development tools are you actually using?

Which platform, libraries and so on...?

Can you post example code?

 

Marco Brauner NIG 

0 Kudos
Message 2 of 3
(3,703 Views)

Hi,

 

I am using LV7.1, and I call some functions from kernel32.dll and user32.dll.

In the meanwhile I figured out, why I get this error message.

 

I have called the "OpenFileMappingA" function to read/write memory mapped files, but I havent closed the returned handle. So I made a handle-leak in Windows...

0 Kudos
Message 3 of 3
(3,697 Views)