[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [recommenders-dev] Reverting the documentation provider on completion results
|
Hi Marcel,
I opened
https://bugs.eclipse.org/bugs/show_bug.cgi?id=364079 to record the Javadoc provider issues I am experiencing. I attached two screenshots. Please let me know if you need additional information.
> Lastly, (and this is just a perception thing) it seems that my memory usage spikes every time the extdoc comes up -- I turned off the hovers because I was creating tons of garbage.
How big is the memory spike you experience?
Each time a hover window pops up it increases the heap usage by 6-12MB. I was going to try and do a screencast to show you. But just on a small file within a relatively small project, each hover window increases my memory usage by that amount. Its all garbage-- it all gets freed by the collector. So just sitting here hovering over some fields/methods with 10 hover windows popping up, increased my heap by 100MB. It gets collected if I hit the garbage icon or if I let it keep growing. And while I agree in general for Java development with weak generational hypothesis I wouldn't care. However, this is a gui and this stuff can cost in terms of cache misses, extra cpu -- that might be completely unnecessary. I was kind of surprised. I haven't looked at the code at all just struck me as odd.
I would love to make time and try to contribute to this. I think this is one of the most important plugins I have seen in years. Auto-completion is so important. It is amazing to me that eclipses auto-completion has been so poor (compared to intelliJ) for this long. I really love the work you guys are doing.
Lastly, if I have two sibling projects (A and B) both with the recommenders nature should I expect to get recommenders suggestions in my autocomplete for classes in A when I;m typing in files in B? I tried yesterday only enabling the recommenders and disabling the existing java type suggestions (as I was getting duplicates in the list of results) but then I got no results when I tried to auto-complete across projects. If you're not aware of this, then I'll dig a bit more and open a bug.
Thanks!
Steve