08-17-2010 05:17 AM
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?
08-18-2010 08:24 AM
Hi mitulatbati,
which development tools are you actually using?
Which platform, libraries and so on...?
Can you post example code?
Marco Brauner NIG
08-18-2010 08:43 AM
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...