Question
Hello,
I'm experiencing a memory leak issue when using the message port API in my Tizen application. The memory usage continuously increases when sending and receiving messages, eventually triggering the ui_app_low_memory event and causing the application to close.
I reported this bug on December 2, 2016 (Bug ID: TM-260), but haven't received any response yet. What additional steps can I take to resolve this issue?
Answer
Problem Understanding
The user is experiencing memory leaks when using Tizen's message port API, leading to application termination due to low memory conditions. The issue appears to be device-specific, as different users report varying behaviors.
Solution Methods
-
Verify Firmware Version:
- Different firmware versions may handle memory management differently. Check if updating the firmware resolves the issue.
-
Test on Multiple Devices:
- Test the application on different Tizen devices to determine if the issue is device-specific.
-
Implement Memory Management Best Practices:
- Ensure proper cleanup of message port resources after use.
- Monitor memory usage and implement manual garbage collection if necessary.
Additional Tips
- Consider filing a new bug report if the issue persists, as older reports may not be actively monitored.
- Review the message port API documentation on Samsung Tizen OS for any updates or known issues.