cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

What is the maximum size of a collection ?

Hi 

 

I want to load 15,000 records into a collection.  I know I might have to feed them in 500 (or 2000) at a time, but will PowerApps let me have such a size of collection ?

 

What is the maximum size of a collection ?

 

Thanks

 

NIgel

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: What is the maximum size of a collection ?

Hi @NigelP,

 

According to delegation documentation:

Collections stored in context variables don't require delegation. All of this data is already in memory, and the full PowerApps language can be applied.

 

The 500-2000 delegation record limit does not apply to collections, i.e. you can store as many records in a collection as you like.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: What is the maximum size of a collection ?

Hi @NigelP,

 

According to delegation documentation:

Collections stored in context variables don't require delegation. All of this data is already in memory, and the full PowerApps language can be applied.

 

The 500-2000 delegation record limit does not apply to collections, i.e. you can store as many records in a collection as you like.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Champion
Community Champion

Re: What is the maximum size of a collection ?

I have stored up to 10,000 records in a collection without any issues, and I am sure more can be stored.  I think the limit is the ability of your device to handle the memory.

Depending on where the data is stored, there may be better ways to load up your collection than repeated downloanding of 2,000 records (the maximum currently available through the built-in functions).  SQL Server or Azure SQL Database are particularly flexible.

Where is your data?

Highlighted
Super User
Super User

Re: What is the maximum size of a collection ?

Hi everyone.

 

We have been able to store over 10 000 records in a collection and the memory and performance was quite good actually. The only time that it started hitting the memory hard is when you display that collection in a gallery, and scroll through all the data. It actually feels like there is a staging system in PowerApps that stores the collection info and that the entire collection is not stored in the browser (feels very much like Cosmos or Mongo). The browser is only hit with the info when you start displaying the data from the collection.

 

From our tests, it is also better to use addcolums to join info from tables into a collection, than to do lookups in the gallery to 'join' data.

 

Highlighted
Post Prodigy
Post Prodigy

Re: What is the maximum size of a collection ?

Hi @Meneghino

 

The data is currentl store in SHarePoint Online lists.

 

Regards

 

Nigel

Highlighted
Community Champion
Community Champion

Re: What is the maximum size of a collection ?

Sorry, can't think of how to get >2000 rows in one go from SharePoint lists.

Highlighted
Super User
Super User

Re: What is the maximum size of a collection ?

Does it have to be in SharePoint? How important is it to get all the data in one go and not in increments of 2000? We have successfully stored data directly in Mongo from PowerApps before, in which case you can get quite a lot of data in and out at great speeds. You can also do some fancy footwork with Flow to get the data for you, it all depends on how much data you need to get, how quick you want it and what you are willing to let go of in terms of application simplicity

Highlighted
Post Prodigy
Post Prodigy

Re: What is the maximum size of a collection ?

Agreed - but I can repeatedly read list items from a list (2,000 at a time) but up to how many ?

 

How much memory does PowerApps reserve for collections ?

 

Collections are great for filtering so I may only bring back onto the screen a much smaller number of items.

 

Regards

 

Nigel

 

 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,263)