-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
microsoftgraph/msgraph-sdk-dotnet
#523Description
Please provide the following (and please check them off the list with [x]) before submitting this issue:
Expected behavior
PageIterator should run problem free on large dataset (large # of pages). I'm using the Microsoft corporate data from Graph.
Actual behavior
PageIterator causes Stackoverflow exception after running 45 mins.
Steps to reproduce the behavior
Perform an initial delta sync on all users in the Microsoft corporation (tenant), using the latest PageIterator from the Core library.
Reading into the source code it could be caused by a mutual recursion between InterpageIterateAsync() and IterateAsync() which throws stackoverflow exception when operate on a large number of pages. Changing the code to use a loop should resolve this issue.
Metadata
Metadata
Assignees
Labels
No labels