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

Export chat - memory leak, and ridiculously resource heavy #28785

Open
mohmad-null opened this issue Dec 20, 2024 · 1 comment
Open

Export chat - memory leak, and ridiculously resource heavy #28785

mohmad-null opened this issue Dec 20, 2024 · 1 comment
Labels
A-Export-Chat A-Performance O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@mohmad-null
Copy link

Steps to reproduce

image

Outcome

I'm using the "export chat" function, it has found 16479 events.

Somehow this:

  • Took 29 minutes!
  • Using ~33% of 16 cores for the entire time!
  • Using over 2.7GB of RAM.
  • The UI locked up after a few mins, including the spinning thing stopping spinning.

The final file is only 1.85MB.

As someone who has done tons of log analysis and text manipulation over the years, this is unfathomably bad; 16000 records is basically nothing. I can see why the other export issues exist on here if this is so bad with just 16000 records (#25007 #27615 #21403 etc ).

Also: Element hasn't freed up the RAM usage. It's still using 2.9GB (it was about 320MB when I started.)

image

Operating system

Windows 10

Application version

Element desktop 1.11.80

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@dosubot dosubot bot added A-Export-Chat A-Performance O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Dec 20, 2024
@girlmaya
Copy link

girlmaya commented Jan 8, 2025

Hi there, a shot in the dark but do you perhaps know of any other means of exporting/backing up chats separately from the element implementation? It's clearly not suitable for anything but small chats or short excerpts of the chat, and I've not been able to backup my chats in a while as a result. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Export-Chat A-Performance O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants