Memory error loading list

Guys, good morning!
Give me some help please.
I’m loading a very large list from google sheets, over 5000 lines. The problem is that after a few loads it gives this error.
My question is: Is there any way to solve or minimize this problem?

this might help


load it partialy
using user scroll triger