07-06-2015 04:41 AM
Hi,
I have get an error: -1073807300, when I allocate memory for DMA larger than 4M Bytes.
Is there any limit for allocate memory for DMA ?
I have run the attach vi on win7 32bit or 64bit, It seems there is a limit at about 4M Bytes.
However I can allocate memory more than 20M Bytes on WinXP system.
Is there any solution for win7 to allocate memory more than 4M Bytes ?
07-06-2015 09:43 AM - edited 07-06-2015 09:43 AM
I'm running Windows 7 64bit and it errors out at around 6M. It's a little bit dynamic because sometimes it will work with 7M, but mostly only with 6M.
It's strange to me that there isn't more documentation around this. I can't find anything specific to the memory limit here, or even a general guideline. Hopefully someone else on here can shed some light.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-06-2015 08:39 PM
07-07-2015 09:10 AM - edited 07-07-2015 09:11 AM
I altered the VI to loop from 1M in increments of 1M until it errored (as fast as it could) and then output the farthest it got without an error. Here is what the plot of those highest allocations looks like and attached is the VI.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-07-2015 09:15 PM
07-07-2015 09:39 PM
Well, when you set it above a certain value it errors. That sounds a lot like a limit.
He gave you a test so you could estimate where the limit is with your system.
07-07-2015 09:51 PM
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'