SyncGeodatabase blocks the UI thread?

2788
2
Jump to solution
04-28-2015 02:13 PM
ChristopherMilack1
New Contributor III

I'm working with a large geodatabase (75mb) with upwards of 80 feature classes/tables. When I call syncGeodatabase:params:status:completion: my UI locks up for an extended period of time (sometimes more than 30 seconds).

I tried pushing this call to a background thread via grand central dispatch but when I did this, my status and completion blocks were never called and the server showed that the GDB was never updated.

The attached screenshot shows the output from a time profile w/ instruments.  The trace shows exactly where this lengthy processing (delay) is happening as well as the fact that it is occurring on the main thread.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DiveshGoyal
Esri Regular Contributor

Thanks for reporting this, Chris. I can confirm that is indeed a problem and it will be fixed in the next release.

View solution in original post

0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor

Thanks for reporting this, Chris. I can confirm that is indeed a problem and it will be fixed in the next release.

0 Kudos
ChristopherMilack1
New Contributor III

Great. Thanks for the speedy response.

0 Kudos