-
Notifications
You must be signed in to change notification settings - Fork 54
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
Chrome page crashes "Aw, Snap. Error 5" after loading too many elements in a page #3
Comments
Hello @DeborahAnn032 , Thanks for this message. If this is not enough, you can try to add a "visibility:hidden" style to the list of elements. Add a "div" at the end to target the children. And then you close the Developer Console (without reloading the page). Tell me if this helps. |
Hello @floriandiud, |
I have same issues, @DeborahAnn032 What is your solution, can you show me? |
@DeborahAnn032 Could you give me the Chrome extension please as I am also facing the same issue! |
What performance issues are you talking about? The script just crashes chrome after some 6 or 8k results are fetched (personally I use great |
I think the issue is that everytime you keep on scrolling down the group member list, Facebook keeps on loading the group members that haven't been loaded in and probably add them to the page and after scrolling for about 2 - 3 hours chrome cannot get enough memory to keep on loading new members and sometimes might crash or just slow down. It's a Facebook issue but it might be solved if you have enough RAM on your machine to assign to chrome. |
If that's the case, then I see possible approaches:
|
I am on a MacBook Pro M2 with Google Chrome. O am scrolling through a lot of Facebook profiles and I've noticed that after a while the page crashes saying "Aw, Snap". I've tried to increase the browser default cache size but that didn't fix the issue because it's not the problem.
The issue could be in the structure limits of the Blink engine.
So, I thought "what if I delete some of the "upper" elements while I go through it"? That should remove some "weight".
As a matter of fact, by doing this I am able to go farther with the scrolling (lazy loading). But a still after a while it crashes.
The new elements are added, and therefore rendered, while scrolling (lazy loading).
I thought: what if I prevent the new elements to be rendered?
Basically I would need to set:
element.style.display = 'none';
but I would need to do this before the element is added, otherwise if I do it after it would be still rendered.
So, I guess I would need to find the script that get the element from server and I would need to make the appropriate changes before it's added.
What I could do?
The text was updated successfully, but these errors were encountered: