CDateTime uses a lot of Windows handles [message #33381] |
Thu, 26 April 2007 19:07 |
Eclipse User |
|
|
|
Originally posted by: nicolas.bihan.free.fr
Hi,
I appreciate the CDateTime widget and decided to use in my RCP application.
But I noticed that a single CDateTime with the CDT.Dropdown style use
about 400 handles in my Windows XP Pro 32 bits.
So, if I add 10 CDateTime in an Editor they use about 4000 handles !
A Windows application is limited to 10 000 handles.
If I open more than 2 editors my app freeze.
I tried with the snippets and the same...
Did you ever notice that before ?
Nicolas Bihan
|
|
|
|
|
|
|
Re: CDateTime uses a lot of Windows handles [message #33731 is a reply to message #33381] |
Fri, 27 April 2007 16:43 |
Eclipse User |
|
|
|
Originally posted by: pawwal.invalid.xx
This is a multi-part message in MIME format.
--------------050100070801060200030500
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Nicolas Bihan napisał(a):
> Hi,
>
> I appreciate the CDateTime widget and decided to use in my RCP application.
>
> But I noticed that a single CDateTime with the CDT.Dropdown style use
> about 400 handles in my Windows XP Pro 32 bits.
> So, if I add 10 CDateTime in an Editor they use about 4000 handles !
>
> A Windows application is limited to 10 000 handles.
> If I open more than 2 editors my app freeze.
>
> I tried with the snippets and the same...
>
> Did you ever notice that before ?
I think I encountered similar issue. My rcp app seems to run correctly
on most of the machines. Unfortunately on some it doesn't - it throws
the "no more handles" SWTError.
I attached the log file with the stack trace - maybe it will be helpful.
For me it looks like the widget falls - in some conditions - into the
"endless" recursion witch finally ends with the error.
- pw
--------------050100070801060200030500
Content-Type: application/x-zip-compressed;
name="log.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="log.zip"
UEsDBBQAAgAIAGt1lDYP2LVYigcAALfXAAAEAAAALmxvZ+2dS2/bOBSF1xMg /0EtslCBRtDL
smxMBnDTdGpMXoiTBrMqaIlxNJFJQw+7+fdDiZIj2XIkt+nudJFaNO8h7xX5 iXaAnHeTs8lk
fHWpmLreP9btY1NXDHtom0OzpxlmTzne79/hAfXCYBFTbZoG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FKLYbM
JHLWqPX2YqfvrkKaBOHauytfOsXnxZKXau3Nwn1rDzOwXXLdjx9tzmIDOIvh YzucxfCbIPwm
CN9t4rtNfLcJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlI ApKAJCAJSAKS
gCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQg CUgCkoAkIAlI
ApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApJw FoOzGGgJWoKW
cBaDsxicxeAsBmcxOIv9dmex/wFQSwECFAAUAAIACABrdZQ2D9i1WIoHAAC3 1wAABAAAAAAA
AAABACAAAAAAAAAALmxvZ1BLBQYAAAAAAQABADIAAACsBwAAAAA=
--------------050100070801060200030500--
|
|
|
|
|
|
|
|
Re: CDateTime uses a lot of Windows handles [message #581467 is a reply to message #33381] |
Fri, 27 April 2007 16:43 |
Eclipse User |
|
|
|
Originally posted by: pawwal.invalid.xx
This is a multi-part message in MIME format.
--------------050100070801060200030500
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Nicolas Bihan napisał(a):
> Hi,
>
> I appreciate the CDateTime widget and decided to use in my RCP application.
>
> But I noticed that a single CDateTime with the CDT.Dropdown style use
> about 400 handles in my Windows XP Pro 32 bits.
> So, if I add 10 CDateTime in an Editor they use about 4000 handles !
>
> A Windows application is limited to 10 000 handles.
> If I open more than 2 editors my app freeze.
>
> I tried with the snippets and the same...
>
> Did you ever notice that before ?
I think I encountered similar issue. My rcp app seems to run correctly
on most of the machines. Unfortunately on some it doesn't - it throws
the "no more handles" SWTError.
I attached the log file with the stack trace - maybe it will be helpful.
For me it looks like the widget falls - in some conditions - into the
"endless" recursion witch finally ends with the error.
- pw
--------------050100070801060200030500
Content-Type: application/x-zip-compressed;
name="log.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="log.zip"
UEsDBBQAAgAIAGt1lDY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yubi8dzb47hTU9o68HT9PFRT qZx4uuRUrUth
8FWvi9l2Gp14onOYn71rMpX2V1ynXq9MIbVdmX6/U2X+DFiQ/FWtSTNBukRa vf5OmzN5YNQK
8yY59zxUrfo52a65l0I9uPHoKYP9gIR8lh38sv/L6OJKFt8w7Y5j8+wja3Xk vts+cnFKLYbM
JHLWqPX2YqfvrkKaBOHauytfOsXnxZKXau3Nwn1rDzOwXXLdjx9tzmIDOIvh YzucxfCbIPwm
CN9t4rtNfLcJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlI ApKAJCAJSAKS
gCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQg CUgCkoAkIAlI
ApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApJw FoOzGGgJWoKW
cBaDsxicxeAsBmcxOIv9dmex/wFQSwECFAAUAAIACABrdZQ2D9i1WIoHAAC3 1wAABAAAAAAA
AAABACAAAAAAAAAALmxvZ1BLBQYAAAAAAQABADIAAACsBwAAAAA=
--------------050100070801060200030500--
|
|
|
|
Powered by
FUDForum. Page generated in 0.04090 seconds