This error occurs when a method produces a result that exceeds a size-related limit. This can happen, for example, if the result contains more objects than the user requested, or when the size of the result exceeds an implementation-specific limit.
See the Java exception for more details.