From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
TDMS를 사용하여 데이터 로깅을 하는 어플리케이션이 있습니다. TDMS 쓰기 VI를 실행할때마다 조금씩 메모리 (RAM)의 사용량이 증가합니다. 이것이 메모리 문제인지 여부와 어떻게 메모리 사용량 증가를 방지할수 있는지 궁금합니다.
일반 TDMS API는 TDMS 열기 VI로 TDMS 파일에 읽고 쓰기 가능하도록 합니다. TDMS 파일에 데이터를 쓸때, TDMS API는 파일에 랜덤하게 데이터를 엑세스하기 쉽도록 메모리에 캐쉬를 가지고 있습니다. 만약 TDMS 를 사용해서 디스크에 계속해서 데이터를 로깅하는 어플리케이션을 가지고 있다면 이것이 메모리 누출의 원인이 될 수 있습니다.
이 문제에 대해서 몇가지 가능한 방법이 있습니다:
|