Performance problems after continued scanning of large images

Description


When batches are scanned into Capture, overtime the responsiveness and performance may slow down if scanning in Color at higher DPI settings (e.g. Color Duplex Images at 600DPI) or even when continuously scanning for long periods of time (e.g. 18 continuous hours).

This behavior is due in part to how and when .NET reclaims memory in both PaperVision Capture and PaperFlow. By default, .NET’s garbage collection process (also known as gcCollect) is enabled and set to run every 5 minutes (300 seconds) to reclaim memory no longer being used.

When scanning some very large images or when scanning for long periods of time, it may be necessary to run this process more or less frequently to ensure optimal scanning performance.

Summary


This process is automatically configured and used by the PaperVision Capture Operator Console, Automation Service, and the PaperFlow products. The steps needed to increase (or decrease) the amount of time (in seconds) before this process is run are as follows. Note that these steps assume the products were installed using the default install location on a 64-bit operating system. For 32-bit systems, the default location is Program Files:

PaperVision Capture Operator Console: (Close the Operator Console before making this change)

  1. Open the CaptureClient.exe.config file using Notepad located at C:\Program Files (x86)\Digitech Systems\PaperVision Capture\
  2. From Notepad, select Edit, and then click Find
    1. In the Find what field search for <batchConfiguration/> (located in the BATCH SETTINGS section)
    2. Replace <batchConfiguration/> with <batchConfiguration gcCollectSeconds="5"/>.       This will run the gcCollect process every 5 seconds instead of the default 300.
  3. Save and close the file. The change takes effect immediately.

PaperVision Capture Automation Service:

  1. Open the DSI.PVECommon.PVProcWork.exe.config file using Notepad located at C:\Program Files (x86)\Digitech Systems\PaperVision Capture\
  2. From Notepad, select Edit and then click Find
    1. In the Find what field search for <batchConfiguration isLocal=”true”/> (located in the BATCH SETTINGS section)
    2. Replace <batchConfiguration isLocal=”true”/> with <batchConfiguration isLocal=”true” gcCollectSeconds=”5”/>. This will run the gcCollect process every 5 seconds instead of the default 300.
  3. Save and close the configuration file
  4. Restart the PaperVision Capture Automation Service (from the desktop, click Start > Run > type services.msc and press <Enter>. Right-click the PaperVision ProcessInitiator1 service and choose Restart).

PaperFlow: (Close PaperFlow including from the System Tray before making this change)

  1. Open the PaperFlow.exe.config file using Notepad located at C:\Program Files (x86)\Digitech Systems\PaperFlow.NET\
  2. From Notepad, select Edit and then click Find
    1. In the Find what field search for <batchConfiguration/> (located in the configSections section)
    2. Replace <batchConfiguration/> with <batchConfiguration gcCollectSeconds="5"/>.       This will run the gcCollect process every 5 seconds instead of the default 300.
  3. Save and close the file. The change takes effect immediately.

NOTE: If a user logs into the Operator Console, or PaperFlow after making this change and they receive an error message; make sure that the change was entered correctly in the configuration file.

It is also important to note that this process can be run as often or as little as needed to improve performance. The steps listed above are examples for setting the process to run every 5 seconds.

Filed under PaperVision® Capture, R74

Last modified Sep 18, 2015

Submitted Apr 09, 2014

Related Articles

Share via Email Print