"There is not enough memory to create the input buffer. Try specifying a smaller value for InputBufferSize." How to fix the error ?

Hi,
I am calling the function (one of the inputs is Visa address) which opens the visa address as f=visa('agilent',visa_addr); f.OutputBufferSize = 20000000; f.InputBufferSize = 6400000; f.Timeout=20
After running the matlab code for 10 times, I am getting the error that "There is not enough memory to create the input buffer. Try specifying a smaller value for InputBufferSize." I even tried flusinput(f) at the end of function but that did not help. Please let me know how to solve this. (I also tried changing the Java Heap Memory in Preferences->General)

댓글 수: 1

Are you deleting the visa object at the end of the function, or are you just allowing it to go out of scope?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

댓글:

2017년 9월 1일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by