cancel
Showing results for 
Search instead for 
Did you mean: 

XSODATA - Paused before potential out of memory crash

rubens12
Participant
0 Kudos

I am consuming a XSODATA service on SAPUI5 application.
On the Calculation view of this XSODATA I have 5 million of records.

When I try list the XSODATA records on the SAPUI5 application, after some minutes the Google Chrome show the error "paused before potential out of memory crash"


Why it's doing? Why can I do to solved it?

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor

You may want to look into using pagination/filtering here, 5 million records is way too many to load and show.

Regards,

Jamie

rubens12
Participant
0 Kudos

Hi Jamie, Thank you for answer.

With the filter a get about 3 million records and this records is absolutely necessary.

You can show me an example how pagination an xsodata service(On sap.m.Table)? And even if I paginate, he's going to get 5000 pages. Is it not useless to the user?

jamie_cawley
Advisor
Advisor
0 Kudos

Not sure how 3 million records would be useful. The table can be set to paginate by using the growing parameters.

https://sapui5.hana.ondemand.com/#/api/sap.m.ListBase

Regards,

Jamie

rubens12
Participant
0 Kudos

Thank you Jamie

Answers (0)