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

Element crashes when the room is full of audio files. How can I change this for me? (Windows client.) #1867

Closed
reversesrever opened this issue Sep 8, 2024 · 2 comments
Labels
A-Voice-Messages O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect

Comments

@reversesrever
Copy link

Steps to reproduce

  1. Open Element.
  2. Load a room with a bunch of audios.
  3. See memory crash.

Outcome

I wanted to use the app.
I can't because the audios get loaded in memory and because they are a lot, the system crashes.

I wanted to change the code for me. I'm not planning on improving the waveform calculation or anything like that, because I think that should not be done on the client side anyway so I disagree with the design from start. However I really need to use it so this is to ask for some advice on how I should proceed.

I was thinking that the best and cleanest way is just making the client consider the audio messages as regular files.

I tried to send the same amount of data in ZIP files and it works OK. There is no problem, so, I was thinking that if I make the app take audio files as regular files, and then when you open them they will just get downloaded in the temporary location and then be opened by the default OS app, then it will work.

This is not an issue as of itself, I know there are thousands of people already complaining about this on other issues.

However I don't really think anyone intends to really solve this so how can I do that on the code (what I mentioned?)

Should I be careful not to touch something in particular?
What files should I look at?

Note: I want to insist in that this is not a pull requests. I just want to do this for me. (That's about open source, right? To be able to change whatever you want for you.)

Thanks for any advice and for the time taken reading.

Operating system

WIndows.

Application version

Latest.

How did you install the app?

No response

Homeserver

No response

Will you send logs?

Yes

@dosubot dosubot bot added A-Voice-Messages O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround labels Sep 8, 2024
@reversesrever
Copy link
Author

Does anyone know any good alternative to Synapse/Element?

This is hell.

@t3chguy
Copy link
Member

t3chguy commented Sep 12, 2024

Duplicate of element-hq/element-web#26239

@t3chguy t3chguy marked this as a duplicate of element-hq/element-web#26239 Sep 12, 2024
@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Voice-Messages O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants