A deterministic memory management architecture for real-time brake test bench based on virtual instrumentation framework
The long-term stability of industrial measurement and control systems depends on effective software memory management. This paper presents a memory management method for LabVIEW-based measurement and control systems to address long-term stability issues caused by the implicit memory mechanisms of the dataflow paradigm. The method combines behavior feature classification with hierarchical resource control, and is demonstrated on a data-intensive train brake test bench. First, the formation of implicit data copying, reference-based garbage collection and memory fragmentation in the LabVIEW Runtime System is analyzed, and the key factors affecting long-term stability are identified. A two-dimensional classification model based on execution frequency and memory occupancy is then built to quantitatively describe the resource requirements of functional modules. Based on this model, a three-layer management framework comprising a communication layer, an innovation layer and a data layer is designed. The communication layer uses a queue mechanism with reference semantics to eliminate unnecessary data copies; the innovation layer implements deterministic classification management that combines dynamic and static strategies; and the data layer performs periodic buffer cleaning to suppress memory fragmentation. Experimental results show that the proposed method reduces memory usage from 460 to 119 MB (a 74% decrease) and stabilizes CPU utilization at 7 % ± 2 % , achieving stable long-term operation. The proposed method provides a universal memory management approach for LabVIEW-based measurement and control software and offers theoretical guidance for the reliability design of similar systems.
Authors
- Xiaoming Han (ORCID: https://orcid.org/0000-0002-6715-4149)
- Yu Liu (ORCID: https://orcid.org/0000-0002-1844-9303)
- Zhihua Sha (ORCID: https://orcid.org/0000-0001-7777-8556)
- Ziguang Wang (ORCID: https://orcid.org/0009-0000-9213-9867)
- Qi Wei (ORCID: https://orcid.org/0000-0001-9852-5902)
- Linlin Su (ORCID: https://orcid.org/0000-0002-4862-0714)
- Chong Zhao (ORCID: https://orcid.org/0000-0001-7607-3001)
- Jiajun Song (ORCID: https://orcid.org/0009-0005-1124-454X)
Institutions
- Dalian Jiaotong University (CN)
Publication Details
- Journal
- Measurement and Control
- Published
- 2026-10-07
- DOI
- https://doi.org/10.1177/00202940261492530
- Primary Topic
- Advanced Algorithms and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00