I am using TI AM3517 and AM3505 with Linux TI SDK AM35X 05.05.00, and I found a serious memory leak issue on Matrix Application launcher:
1. If a Qt application ran by the Matrix application launcher : memory leak
2. Only Matrix application launcher : no memory leak
3. Only Qt application : no memory leak
Here is the screenshot of using "top" to check process memory usage, after the system starts for 24 hours while an Qt application ran by Matrix application launcher.
As you can see the memory usage of matrix browser is 269MB.
After that, we tested file-systems in various version of on TI Linux SDK
TI SDK ver. | 5.02 | 5.05 | 5.07 | 6.0 |
Qt ver. | 4.6 | 4.7 | 4.8 | 4.8 |
Matrix launcher ver. | V1.3 | V2 | V2 | V2 |
Memory Leak issue | NO | YES | YES | YES |
First, we thought it's the Matrix launcher's issue, so we ported Matrix application launcher V1.3 to TI 5.05 SDK file-system with Qt 4.7 . However, the memory leak still happen.
So, we think the error may cause by the Qt version and some source code issue in the Matrix application launcher.
This issue happens on AM3517 development kit too, so it's not related to any hardware, it's a pure software issue.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update on 2015/07/29
Some of the information that we provided is incorrect, we want to update some test result that may help TI to solve this issue:
TI SDK ver. | 5.02 | 5.05 | 5.07 | 6.0 |
Qt ver. | 4.6 | 4.7 | 4.8 | 4.8 |
Matrix launcher ver. | V1.3 | V2 | V2 | V2 |
Memory Leak issue | YES | YES | YES | YES |
TI SDK ver.5.02, still got memory leak issue.