I've never encountered any CPU restrictions with an extension.
So maybe it is running out of memory.
You have enough memory to load the array, but then maybe you are consuming more memory as you process the array.
If you run/debug the extension (as opposed to running/debugging the app) in Xcode you can monitor the memory usage in real time just as you can with the app.
I think from memory the memory limit is 20Mg, so you can see if you are getting close to and then hitting this limit (if you go over while running the extension in Xcode then it'll tell you)
If you are running out of memory then you can try using autoreleasepool {} during processing to free memory.
The OS churns out a lot of logging, if you search in the log console (not Xcode's log console) for your extension bundle id while its running, the OS will probably log what the problem is. Or as mentioned above, run the extension in Xcode and that'll probably tell you what the issue is.
Topic:
App & System Services
SubTopic:
Notifications
Tags: