Data loss in realm when application run for long time

Hello All,

I am using the realm database for one of my application. In the application, we got the data every 200 milliseconds. In each response, we get 23 parameters which we have to search In the DB first then either we have to update them to add it’s value in the DB based on some configuration. We are facing some issues when we run the application for a long time. When we run the application for the long, realm we lost the last few minute data. Please advise me if we can do something to remove this data loss.