call stack too long android application crashes

I am building an application for my father’s business. That can get data from google sheets in JSON format. then I parse the JSON Data and store them as an array this works well in the editor and shows the result in a combobox but as soon the page loads there by firing the event construct that gets the data from google sheets and stores it in an array the app crashes and gives the below error. I have around 315 elements of names and the corresponding amount that the names owe my organisation
LogAndroid: Error: Crtical error:
LogAndroid: Error: Assertion failed: Result+ NumToAdd<=MaxElements
LogAndroid: Error: Maximum number of Uobjects exceeded
LogAndroid: Error: << callstack too long >>