Close
dtSearch Engine API for Java
SearchReportJob.setOutputStringMaxSize Method
Syntax
Java
public void setOutputStringMaxSize(int newOutputStringMaxSize);

When output is directed to an in-memory string, you may wish to limit the maximum amount of memory used. To do this, set OutputStringMaxSize to the maximum size you want to allow. Note: The dtSearch Engine will not preallocate this amount of memory. Instead, it will allocate a small amount of memory and grow the string as needed, either until the job is complete or the size limit is reached.