LEGACY CONTENT
This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Introduction

When using OOB (Out of the Box) Reporting, the user attempts to retrieve a report and the report takes a long time to load, a time out occurs or an out of memory exception is thrown.

Error Scenario

Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.
When using OOB reports, and ProcessInstances from the Process Overview Report is accessed all XML and Datafields are retrieved. This results in a large volume of data being retrieved from the database resulting in massive memory consumption. The outcome may be a long delay for the report to display, a timeout or a memory exception is thrown.

The error was related to the following methods soGetProcessInstanceDataFields and soGetProcessInstanceXMLFields being called during OOB Reporting and custom reporting which resulted in a performance related issues. These method calls have been removed facilitating a enhancement to OOB and custom reporting.

Reproduce Error Scenario


The steps below will assist in reproducing the error
  1. From K2 Workspace Open Reports
  2. Open the Process Overview Report
  3. Select the ProcessInstance
  4. A long delay should be experience, which may culminate in a timeout or an out of memory exception
Note: This Hotfix is provided as means to enhance performance, the user may still experience delays or performance related issues which may be environment depdendant.

Error Resolution

This Hotfix is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.

The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here: https://portal.k2.com/downloads/bp/default.aspx