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

When the logged-in user has over 8000 rosters, rosters are not being retrieved. #3294

Open
udaysv opened this issue Dec 21, 2023 · 2 comments

Comments

@udaysv
Copy link

udaysv commented Dec 21, 2023

Describe the bug
When the login user has more than 8000 contacts, contacts retrieving is getting empty.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://conversejs.org/fullscreen.html'
  2. Login with the user who has more contacts. After login success, wait for the contacts list in the control box.
  3. No contacts were received for a longer time. After some time web page will get an unresponsive alert.
  4. Error will be displayed with Aw Snap! in the web page.

Expected behavior
Contacts should be fetched

Environment (please complete the following information):

  • Browser [e.g. Chrome, Firefox]
@licaon-kter
Copy link
Contributor

licaon-kter commented Dec 21, 2023

Console output when running as debug? Which browser did you test? All do the same? Server logs?

@udaysv
Copy link
Author

udaysv commented Dec 22, 2023

Browser
Chrome

Observation
After receiving the rosters from the XMPP server and generating models to save in the database, the @converse/skeletor npm is unable to store in IndexedDB, resulting in an "out-of-memory" crash. It utilizes the entire heap memory of RAM, leading to a crash of the browser page.

Screenshots
converse-log

converse_out_of_memory_log converse_dashboard converse_error converse_login converse_console_2

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

No branches or pull requests

2 participants