How to resolve the error "Failed to create a document frame for a Graph; make sure that system resources are not exhausted " while executing Analysis Configuration on Spotfire Statistica.

How to resolve the error "Failed to create a document frame for a Graph; make sure that system resources are not exhausted " while executing Analysis Configuration on Spotfire Statistica.

book

Article ID: KB0138575

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.x

Description

The error occurs due to Windows GUI resource exhaustion rather than a data calculation error or an explicit product limitation. 

When a workflow is designed to open and maintain many live windows simultaneously (such as 42 interactive graphs alongside their respective Quality Control Charts dialog windows), the program consumes a high number of User Objects (~234 User objects per unit).

Hence we need to Increase Windows User Object Quota.

 

NOTE: The resolution suggested below works only with 60 variables.

 

Environment

Windows(OS)

Resolution

Steps to Resolve:

  1. Open the Registry Editor (regedit) on the affected machine.

  2. Navigate to the following path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows.

  3. Locate the value named USERProcessHandleQuota.

  4. Modify the value, change its Base to Decimal, set the value data to 18000, and click OK.
    image.png
  5. Restart your PC for changes to take effect.

  6. Run the Analysis Configuration again.



 

 

Issue/Introduction

When executing an Analysis Configuration (AC) that generates a large number of charts (e.g., 42 or more), Spotfire Statistica encounters a error as per below screenshot:

image.png