"No more handles" error occurs when opening a large number of editors

Overview

When opening a large number of editors in the Studio, a "no more handles" error may be returned because you hit the maximum number of user handles that can be opened in a Windows session. At that point, you cannot open other editors.

This article provides you with best practices to prevent this error from occurring and a workaround to increase user handle and GDI handle limits on Windows.

 

Environment

Any version of Talend Studio installed on Windows operating systems.

 

Symptoms/Description

As opening editors uses handles, when you open a large number of editors in the Studio, you may hit the maximum handles limit on Windows operating systems and get a "no more handles" error like this:

!ENTRY org.eclipse.ui 4 0 2016-12-13 10:38:23.372
 
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles
 
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.SWT.error(SWT.java:4327)
...

 

Resolution

You can prevent the "no more handles" error from occurring by closing editors you do not use.

If you get a "no more handles" error because you opened a large number of editors, save your work and restart the Studio.

A possible workaround would be increasing user handle and GDI handle limits. For further information, see: Increasing User Handle and GDI Handle Limits .

Version history
Revision #:
3 of 3
Last update:
‎06-20-2017 11:51 PM
Updated by:
 
Labels (1)
Tags (1)