According to Apple's App Extension Programming Guide:
Memory limits for running app extensions are significantly lower than the memory limits imposed on a foreground app. On both platforms, the system may aggressively terminate extensions because users want to return to their main goal in the host app. Some extensions may have lower memory limits than others: For example, widgets must be especially efficient because users are likely to have several widgets open at the same time.
App Extension has a very strict memory Constraint, and vary from each other.
What's the maximum memory budget for each type of App Extension?
Can I test them like iOS App ios app maximum memory budget?