Some targeting operations might return a large number of repository items. To prevent a servlet bean from loading large results sets into memory, limit the result set by setting its maxNumber input parameter. For example, you can set the maximum number of items returned by a TargetingForEach servlet bean as follows:

<dsp:param name="maxNumber" value="100"/>

By default, the maxNumber property is set to –1, which specifies no limit to the targeting result set size.

loading table of contents...