Skip to main content
Kofax

MarkView Bar Code Generator Tuning Parameters

3822
Article # 304082 - Page views: 117

3822

Issue

  • What are the best settings for the Barcode Generator?

Resolution

  1. The Barcode format of PNG has a much smaller packet size than GIF, and so is optimal.
    The MV_PREFERENCE setting is 'MVAS_BCG_FILE_FORMAT', and can be set via MarkView Administration.
    NB: The following browser versions support PNG:
    Netscape Navigator 4.7 with the Quicktime plug-in (Note: The background prints light grey.)
    Netscape Navigator 7
    Microsoft Internet Explorer 5.0 and higher
  2. Rollup several barcode requests into one (1) request, by concatenating the parameters. For example: http://<server>.domain.com:7777/servlet/markview.BarCode?text=D&text=F&text=G&text=H
  3. Adjust minimum dispatchers to 50:
    The MV_PREFERENCE setting is 'MVAS_BCG_MIN_DB_DISPATCHERS', and can be set via MarkView Administration).
  4. Adjust maximum dispatchers to 50:
    The MV_PREFERENCE setting is 'MVAS_BCG_MAX_DB_DISPATCHERS', and can be set via MarkView Administration).
  5. Adjust buffer size upward (at least 32000):
    The MV_PREFERENCE setting is 'MVAS_BCG_BUFFER_SIZE', and can be set via MarkView Administration).
  6. Adjust initial and maximum java heap size upward, within bounds of virtual memory on the server:
    • -Xms sets the initial heap size, and is in the form:
      -Xms256M
    • -Xmx sets the maximum heap size, and is in the form:
      -Xmx512M
      Note-Icon.png Note: There is no space between the parameter and the value.
      Note-Icon.png

      Note: These parameters are to the java engine, and so are specified before the OC4J jar file:

      java -Xms256M -Xmx512M -jar oc4j.jar
      or
      java -Xms256M -Xmx512M -jar orion.jar

  7. Periodically trim all OC4J logfiles:
    1. OC4J log file (usually specified by the -out parameter when starting OC4J)
    2. OC4J error file (usually specified by the -err parameter when starting OC4J)
    3. j2ee/home/log/global-application.log
    4. j2ee/home/log/http-web-access.log (in OC4J 1.0.2, it is named j2ee/home/log/default-web-access.log)
    5. j2ee/home/log/jms.log
    6. j2ee/home/log/rmi.log
    7. j2ee/home/log/server.log

Applies To

  • MarkView Version: (All Versions.)