Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Live/Archive chat memory usage, Google Translate #132

Open
7 tasks done
Daxy7 opened this issue Jan 24, 2024 · 2 comments
Open
7 tasks done

[Bug]: Live/Archive chat memory usage, Google Translate #132

Daxy7 opened this issue Jan 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Daxy7
Copy link

Daxy7 commented Jan 24, 2024

Checklist

  • This is an issue for Hyperchat, not LiveTL. I will go to the LiveTL repo to report an issue with LiveTL.
  • This issue is not a matter of opinion. If it is, I will use the feature suggestion issue template.
  • I have checked for a duplicate or similar issue. I made sure to check closed issues as well.
  • I am still able to reproduce the issue after I reinstall the extension.
  • I have clear instructions to reproduce the bug, even on another machine.
  • I am not suggesting a feature. If I am, I will use the feature suggestion issue template.
  • 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?

image

@Daxy7 Daxy7 added the bug Something isn't working label Jan 24, 2024
@Daxy7 Daxy7 changed the title [Bug]: [Bug]: Live/Archive chat memory usage Jan 24, 2024
@KentoNishi
Copy link
Member

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

@Daxy7
Copy link
Author

Daxy7 commented Jan 25, 2024

Thanks. Additional minor bugs:

  1. 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.

  1. Translation is too extensive: 'Maori' language detected in lmaoo etc. 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

@Daxy7 Daxy7 changed the title [Bug]: Live/Archive chat memory usage [Bug]: Live/Archive chat memory usage, Google Translate Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants