How to Increase the Number of Search Results in Webview, Webstart and Local Client Workstation

Document ID : KB000020285
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This article explains using the -Dsearch.typeviewer.clamp.size property to increase the number of results returned in Webview, Webstart and Local Client Workstation.

 

Solution:

The default limit on the number of search results that a query can display in the investigator is 500. This limit is in place for performance considerations. However this can be modified by adding the -Dsearch.typeviewer.clamp.size=____ property to either the Introscope_Workstation.lax file or Introscope_Webview.lax. A variation of this property can also be used for Webstart Workstation.

 

For locally installed workstation clients

1.       Go to <Workstation_Installation_Directory>\Introscope_Workstation.lax

2.    Search for lax.nl.java.option.additional=...

3.    Add search.typeviewer.clamp.size to this property. For instance:

lax.nl.java.option.additional=-client -Xms64m -Xmx256m -Dsun.java2d.noddraw=true -Dsearch.typeviewer.clamp.size=1000

This would increase the maximum number of returned results to 1000.

4.    Restart Workstation.

 

For Webview

1.       Go to <Webview_Installation_Directory>\Introscope_WebView.lax

2.    Search for lax.nl.java.option.additional=...

3.    Add search.typeviewer.clamp.size to this property. For instance:

lax.nl.java.option.additional=-client -Xms64m -Xmx256m -Dsun.java2d.noddraw=true -Dsearch.typeviewer.clamp.size=1000

This would increase the maximum number of returned results to 1000.

4.    Restart Webview

 

For Webstart Workstation:

(Note that the Java versions referenced and some directory names will be slightly different depending on the APM version.)

1. Go to <Introscope_Installation_Directory>\product\enterprisemanager\plugins\com.wily.introscope.workstation.webstart_9.6.0\WebContent\jnlp\workstation.jsp 

2. Search for <j2se version="1.6*&1.6.0_05+" section in workstation.jsp file and add highlighted values:

<j2se version="1.6*&1.6.0_05+" java-vm-args="-Xms64m -Xmx512m -Dsun.java2d.noddraw=true -Dsearch.typeviewer.clamp.size=1000" href="http://java.sun.com/products/autodl/j2se"/>

<property name="sun.java2d.noddraw" value="true"/>

<property name="search.typeviewer.clamp.size" value="1000"/>

3. Relaunch the Webstart Workstation. 

 

Important Note: Remember that increasing the size for the viewer may result in performance degradation, so use this property only if really needed.