Comment #6 on issue 133 by [email protected]: JSR-309 driver leaks
memory
http://code.google.com/p/mediaserver/issues/detail?id=133
Hi, I have facing the same issue, patched with andrew's solutions, and
fixed additional memory and thread leaks issues.
Basically I try to clean everything on release, including some forever
running threads.
Some codes might not be relevant, but I did memory and thread profiling
before and after the code changes and happy with the memory and thread load
at the end.
Patch:
1. Applying Andrew's patch, adding additional release methods to clear
resource, add timeout on thread await(). (Some threads didn't terminate
properly....)
2. Making changes on ConcurrentCyclicFIFO.java, change to await(time,
unit), to fix thread leak problems.
3. Add release transition.
4. Code refactor.
5. Fixed thread leak issue.
6. Fixed thread leak issue. To prevent unnecessary thread being created.
7-14. Code refactor.
Attachments:
1.diff.txt 15.1 KB
2.diff.txt 4.3 KB
3.diff.txt 2.9 KB
4.diff.txt 1.4 KB
5.diff.txt 3.6 KB
6.diff.txt 1.5 KB
7.diff.txt 2.0 KB
8.diff.txt 591 bytes
9.diff.txt 567 bytes
10.diff.txt 1.0 KB
11.diff.txt 812 bytes
12.diff.txt 755 bytes
13.diff.txt 729 bytes
14.diff.txt 725 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.