Community
Participate
Working Groups
Currently Mylyn reads the task list into a DOM then traverses the DOM to read the queries/tasks/categories in the task list. This uses a lot of memory and can cause out of memory errors when reading a large task list. Switching to a streaming approach would be much more efficient in this regard.
I've written a POC of a SAX parser for reading the task list and it appears to work. I will push a review but would like to do some more testing before doing so.
New Gerrit change created: https://git.eclipse.org/r/72114
New Gerrit change created: https://git.eclipse.org/r/72860
New Gerrit change created: https://git.eclipse.org/r/72861
New Gerrit change created: https://git.eclipse.org/r/72862
New Gerrit change created: https://git.eclipse.org/r/72989
New Gerrit change created: https://git.eclipse.org/r/72988
Gerrit change https://git.eclipse.org/r/72114 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=8d958cc06f60633412164e2d8fddc3ec907ae413
Gerrit change https://git.eclipse.org/r/72860 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=7f3f9dc21e4b3ff6afd680c835277f08da7c124d
Gerrit change https://git.eclipse.org/r/72861 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=8b94c80c870632a73daf1512a6f0ed20622e4683
Gerrit change https://git.eclipse.org/r/72862 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=7b91dd13af3a2e8b6bdcfe05f701e58f57cbdc1c
Gerrit change https://git.eclipse.org/r/72988 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=1cf9130cc747348693e2b3632f0a53ae3aaeeb53
Gerrit change https://git.eclipse.org/r/72989 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.tasks.git/commit/?id=b9a7552f5892b88fb40727c55db62c63864fbd68
In addition to moving to SAX this change introduced a significant performance improvement for large task list loading and deprecated the task list migration which was done for task lists from Mylyn 2.0. Sam, can you please let me know what I need to update so that integrators know about he deprecation of the migration, and users know that Mylyn 2.0 task lists are no longer supported.
Can you add an entry to the porting guide (https://wiki.eclipse.org/Mylyn/Porting_Guide) for 3.20 saying that migrators will no longer be invoked? I will update https://projects.eclipse.org/projects/mylyn/releases/3.20/review now.
It would be a good idea to send a message to mylyn-integrators with a link to the porting guide (which should link to this bug).
Thank you Sam, I will do that.
I've updated that wiki, once the update is approved I'll send an email to integrators.
The Wiki update is visible and I've emailed the integrators mailing list.