Giter Club home page Giter Club logo

Comments (4)

stee1ix avatar stee1ix commented on July 24, 2024

@cristiano-linvix Did this work? I'm having the same issue of UI blocking.

from realm-js.

sync-by-unito avatar sync-by-unito commented on July 24, 2024

➤ PM Bot commented:

Jira ticket: RJS-2850

from realm-js.

cristiano-linvix avatar cristiano-linvix commented on July 24, 2024

So, the reason for my crash was the amount of data I was receiving simultaneously.

I was using websockets to receive data from the backend, but I was receiving data from 10 different tables, and trying to record all of this at the same time.

Application would crash, I implemented better control over this, so I request table by table, save and request a new table.

This solved it for me, I hope it helps you.

I also broke ream.write every 100 records.

from realm-js.

kneth avatar kneth commented on July 24, 2024

@stee1ix

A very large write transaction could block for an unacceptable long time, and as @cristiano-linvix suggests, breaking into smaller transactions can block for short enough time for the UI to update.

from realm-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.