User space alternative
If the amount of information to be returned by a retrieve API is not known or is large, a user space is preferred to contain the information.
The disadvantage of using a receiver variable when it is too small for the amount of data being returned is that the API must be called again to receive the remaining data. You can create a user space so that it can automatically extend up to 16 MB of storage to accommodate the information being retrieved.