This resource-limit limits the maximum number of samples that can be cached for a single instance and must be less than or equal to max_samples and greater or equal to the history depth. When DDS_ResourceLimitsQosPolicy::max_samples_per_instance is higher than depth it makes it possible to loan samples and receive up to depth samples before returning loaned samples.