Skip to Content
0

XSODATA - Paused before potential out of memory crash

Oct 17, 2017 at 01:14 PM

191

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jamie Cawley
Oct 17, 2017 at 01:41 PM
1

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

Regards,

Jamie

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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?

0

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

0

Thank you Jamie

0