Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

while navigating multiple screen getting Error: ERR_OUT_OF_MEMORY

Hi,

We have developed multiple virtual list type screens but we are getting a random error (Error: ERR_OUT_OF_MEMORY ) while switching between screen.

Each screen is updated with the latest data. All data is coming from the server.

There is any way to optimize virtual-tile-list?

 

Best Answer
0 Votes
1 REPLY 1

I've found tile lists (including virtual) to be very memory-hungry, and had to abandon them in one of my products. This is especially true if you're populating tiles via getElementBy...(), which seems to grab a lot of memory and doesn't ever release it all.

 

There are some general suggestions about memory usage reduction here. A suggestion specific to a virtual tile list would be to ensure that your code is structured so that no references to tile-specific variables are retained when a tile goes out of scope (ie, off-screen). Global variables are especially to be avoided. This gives the garbage collection system the greatest chance of reclaiming unused memory for reallocation.

Peter McLennan
Gondwana Software
Best Answer
0 Votes