[Bug]: Live/Archive chat memory usage, Google Translate
Checklist
- [X] This is an issue for Hyperchat, not LiveTL. I will go to the LiveTL repo to report an issue with LiveTL.
- [X] This issue is not a matter of opinion. If it is, I will use the feature suggestion issue template.
- [X] I have checked for a duplicate or similar issue. I made sure to check closed issues as well.
- [X] I am still able to reproduce the issue after I reinstall the extension.
- [X] I have clear instructions to reproduce the bug, even on another machine.
- [X] I am not suggesting a feature. If I am, I will use the feature suggestion issue template.
- [X] By submitting this issue, you agree to follow our Code of Conduct
Describe the bug
Memory leak, about:performance slowly climbing every 5 seconds to ~.5 megabyte
Left to idle for ~3 hours, 800+ mb usage.
Mayhaps by using Google Translate API in settings
Why is kentonishi.com frame growing in size if there's no page visible?
[21 mb to 250 mb]
Steps To Reproduce
https://www.youtube.com/watch?v=Bmx_XywekhA&t=3809s
Expected behavior
What browsers are you seeing the problem on?
Firefox
Anything else?
This is a known issue with the translation engine, I haven't really gotten around to fixing it (since it involves reverse-engineering the memory leak happening in the underlying Google web translation api itself). I'll keep you in the loop
The translation engine's code is at https://github.com/KentoNishi/iframe-translator
Thanks. Additional minor bugs:
- Translation icon without translating: There was nothing translated so why the error?
1.1 Update for point 1: may affect emoticons Update 2: May not. 1.2 And Translate API toggle on memberships … Moderator Links 1.3 Too many links here [4]. So here's a bundle.
- Translation is too extensive: 'Maori' language detected in
lmaooetc. Needs limiter to minimum three/five customizable languages. Will require API reverse engineering. https://github.com/LiveTL/HyperChat/assets/91396482/6b1cf926-7f94-4ccb-a7d2-c63d57937604