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

try a hunch to fix https://github.com/vector-im/riot-web/issues/6212 #614

Closed
wants to merge 3 commits into from

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Feb 21, 2018

by deleting fields from /sync responses as you emit them into events,
to avoid wasting RAM when parsing the enormous accumulated sync response
from indexeddb on launch

by deleting fields from /sync responses as you emit them into events,
to avoid wasting RAM when parsing the enormous accumulated sync response
from indexeddb on launch
@ara4n
Copy link
Member Author

ara4n commented Feb 21, 2018

i haven't been able to test this yet as my initial sync won't complete (been waiting 10 minutes now), but if my theory at element-hq/element-web#6212 (comment) is right, it might help a bit?

@dbkr
Copy link
Member

dbkr commented Feb 22, 2018

was the IRL conclusion that this wouldn't help because they were being retained elsewhere?

@dbkr dbkr assigned ara4n and unassigned dbkr Feb 22, 2018
@ara4n
Copy link
Member Author

ara4n commented Feb 23, 2018

yeah, it was. the Promises.series() stuff was holding onto a reference, although if you've killed that it might work quite nicely?

@ara4n ara4n assigned dbkr and unassigned ara4n Feb 23, 2018
@dbkr
Copy link
Member

dbkr commented Feb 23, 2018

I didn't, but I could try that.

@dbkr
Copy link
Member

dbkr commented Mar 20, 2018

Assuming this is probably unnecessary now

@dbkr dbkr closed this Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants