"no more handles" while displaying many SWT widgets [message #460814] |
Wed, 07 September 2005 21:33 |
Eclipse User |
|
|
|
Originally posted by: nohtml.gmx.de
Hi,
I'm writing a RCP application with an editor for showing some
questionnaires. If you open too many editors, you get a
"Unhandled event loop exception. Reason: No more handles".
After searching in the news archive, I got the fact that Win 2k has a
maximum of 10k handles, but one questionnaire with about 100 questions
needs approx. 5 labels, 1 textfield, 3 checkboxes per question.
This means, if the user opens 10 editors at the same time, the program
crashes ...
I'm new to SWT (but experienced with swing), so is this a general issue
on SWT or am I doing something wrong ?
Thanks for your help
Karl
|
|
|
|
Re: "no more handles" while displaying many SWT widgets [message #460840 is a reply to message #460814] |
Thu, 08 September 2005 13:52 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Karl Rhenius" <nohtml@gmx.de> wrote in message
news:dfnlti$oj4$1@news.eclipse.org...
> Hi,
>
> I'm writing a RCP application with an editor for showing some
> questionnaires. If you open too many editors, you get a
> "Unhandled event loop exception. Reason: No more handles".
>
> After searching in the news archive, I got the fact that Win 2k has a
> maximum of 10k handles, but one questionnaire with about 100 questions
> needs approx. 5 labels, 1 textfield, 3 checkboxes per question.
>
> This means, if the user opens 10 editors at the same time, the program
> crashes ...
>
> I'm new to SWT (but experienced with swing), so is this a general issue on
> SWT or am I doing something wrong ?
>
Maybe you can use GEF to create lightweight components instead.
---
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.03504 seconds