I have developed a code and found that there was memory leak after running continuously for 5-6 hours. This would force me to restart the software. At first, I thought it was something in my source code. Investigating further, I realized that when I hid the tab with the file path indicator, the memory doesn't leak. This occurs only when the file path doesn't fit the indicator. I replaced it with a string instead and the memory leak problem went away. Has anyone experienced a similar problem? I couldn't reproduce the problem in a separate VI with only the system path indicator truncated.
↧