UNNotificationServiceExtension memory limits?

I'm trying to implement UNNotificationServiceExtension, but my code seems to fail often, simply stating the "Program ended with exit code: 0". I am trying to use the FMDB Sqlite3 module in the extension and it seems as though I may be running into memory limits inside the extension. Are there any documented limits for memory in these extensions? Are there any strategies to help me take them into account, or am I just going to have to accept that I can't put complex functionality into the extension?

Hi,

have you found a solution to this? I'm having the same problem. I'm simply trying to download a 2MB image and create a UNNotificationAttachment from it.

The process crashes quite randomly with the same error message.

There is a memory usage limit in notification service extension. Thus you'd better not use a database or userDefaults

@Nazgul: is this limit documented any where ?

UNNotificationServiceExtension memory limits?
 
 
Q