Considerations for the single-level storage model
There is a limitation of 16MB of automatic storage for a single procedure.
There is a limitation of a total of 16MB automatic storage for all the procedures on the call stack.
Parent topic:
Storage Model