Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime uses a lot of Windows handles
CDateTime uses a lot of Windows handles [message #33381] Thu, 26 April 2007 19:07 Go to next message
Eclipse UserFriend
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 #33563 is a reply to message #33381] Fri, 27 April 2007 12:31 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
interesting... :)

has anyone seen this sort of issue on GTK or Carbon? (is this an issue
on those platforms?)


Nicolas Bihan wrote:
> 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 #33597 is a reply to message #33563] Fri, 27 April 2007 12:32 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

What do you mean:
a) That the widget uses that much handles
b) The limitation of handles / process

Tom

Jeremy Dowdall schrieb:
> interesting... :)
>
> has anyone seen this sort of issue on GTK or Carbon? (is this an issue
> on those platforms?)
>
>
> Nicolas Bihan wrote:
>> 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 #33630 is a reply to message #33597] Fri, 27 April 2007 13:45 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
b - the limitations

Tom Schindl wrote:
> Hi,
>
> What do you mean:
> a) That the widget uses that much handles
> b) The limitation of handles / process
>
> Tom
>
> Jeremy Dowdall schrieb:
>> interesting... :)
>>
>> has anyone seen this sort of issue on GTK or Carbon? (is this an issue
>> on those platforms?)
>>
>>
>> Nicolas Bihan wrote:
>>> 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 #33663 is a reply to message #33630] Fri, 27 April 2007 15:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You mean it is normal that a widget uses 400 Handles? Are you leaking or
allocating so many handles? I have never looked at the code but I'd
say using so many handles is always a problem.

Tom

Jeremy Dowdall schrieb:
> b - the limitations
>
> Tom Schindl wrote:
>> Hi,
>>
>> What do you mean:
>> a) That the widget uses that much handles
>> b) The limitation of handles / process
>>
>> Tom
>>
>> Jeremy Dowdall schrieb:
>>> interesting... :)
>>>
>>> has anyone seen this sort of issue on GTK or Carbon? (is this an
>>> issue on those platforms?)
>>>
>>>
>>> Nicolas Bihan wrote:
>>>> 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 Go to previous messageGo to next message
Eclipse UserFriend
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/hAfXCYBFTbZoGoT/2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bM
JHLWqPX2YqfvrkKaBOHauytfOsXnxZKXau3Nwn1rDzOwXXLdjx9tzmIDOIvh YzucxfCbIPwm
CN9t4rtNfLcJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlI ApKAJCAJSAKS
gCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQg CUgCkoAkIAlI
ApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApJw FoOzGGgJWoKW
cBaDsxicxeAsBmcxOIv9dmex/wFQSwECFAAUAAIACABrdZQ2D9i1WIoHAAC3 1wAABAAAAAAA
AAABACAAAAAAAAAALmxvZ1BLBQYAAAAAAQABADIAAACsBwAAAAA=
--------------050100070801060200030500--
Re: CDateTime uses a lot of Windows handles [message #33765 is a reply to message #33563] Sat, 28 April 2007 09:51 Go to previous message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
> interesting... :)
>
> has anyone seen this sort of issue on GTK or Carbon? (is this an issue on
> those platforms?)
>

Hmm, I think you should using lightweight design, for examples:

http://www.spket.com/widget.html

These control only use 1-3 handler, just take a look at:

http://www.codeproject.com/

most complicated control are lightweight control, that's the same reason
all the web browser a lightweight control...

http://blogs.msdn.com/oldnewthing/archive/2005/02/11/371042. aspx

Eric
Re: CDateTime uses a lot of Windows handles [message #581372 is a reply to message #33381] Fri, 27 April 2007 12:31 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
interesting... :)

has anyone seen this sort of issue on GTK or Carbon? (is this an issue
on those platforms?)


Nicolas Bihan wrote:
> 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 #581392 is a reply to message #33563] Fri, 27 April 2007 12:32 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

What do you mean:
a) That the widget uses that much handles
b) The limitation of handles / process

Tom

Jeremy Dowdall schrieb:
> interesting... :)
>
> has anyone seen this sort of issue on GTK or Carbon? (is this an issue
> on those platforms?)
>
>
> Nicolas Bihan wrote:
>> 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 #581406 is a reply to message #33597] Fri, 27 April 2007 13:45 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
b - the limitations

Tom Schindl wrote:
> Hi,
>
> What do you mean:
> a) That the widget uses that much handles
> b) The limitation of handles / process
>
> Tom
>
> Jeremy Dowdall schrieb:
>> interesting... :)
>>
>> has anyone seen this sort of issue on GTK or Carbon? (is this an issue
>> on those platforms?)
>>
>>
>> Nicolas Bihan wrote:
>>> 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 #581413 is a reply to message #33630] Fri, 27 April 2007 15:04 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You mean it is normal that a widget uses 400 Handles? Are you leaking or
allocating so many handles? I have never looked at the code but I'd
say using so many handles is always a problem.

Tom

Jeremy Dowdall schrieb:
> b - the limitations
>
> Tom Schindl wrote:
>> Hi,
>>
>> What do you mean:
>> a) That the widget uses that much handles
>> b) The limitation of handles / process
>>
>> Tom
>>
>> Jeremy Dowdall schrieb:
>>> interesting... :)
>>>
>>> has anyone seen this sort of issue on GTK or Carbon? (is this an
>>> issue on those platforms?)
>>>
>>>
>>> Nicolas Bihan wrote:
>>>> 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 #581467 is a reply to message #33381] Fri, 27 April 2007 16:43 Go to previous message
Eclipse UserFriend
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/hAfXCYBFTbZoGoT/2T1L2xPiK HR78R5ZEW9Io
Djg7MTRH07/rxrqZ+Tw6maRMuQi8iMfPcULnsTJmnnZ48Inz5JwTn0aKx1mc EJbEQ+VqcrIK
mGV+VEY3p19PfrjOR+V+3XZ5frIIv1+fHx6c8vmcMP84DBhVSDRL5zSPV455 rOS9lePV+hWJ
vEdFaB0eHB68O7u8vflX4dFMK7NKA23Fo6cpZaKbrZibdbOGpqHZri2CL0Rl R3+fKdcRn4ZZ
Mtzz0iiivrJ6pEwJ2JI/BWwmUvKp8hDxubII09lxwIbK+11DvhfVeDe5HZ3+ o+hF6ULCZtoo
isjzmPn0x1WaXD184inz47MfHl0kotrDrPMfJKllEq8SbRX4M5rE2i0RM9TE ywkNqZeFqLIp
G2Fo6o77YVvgvwfiUW0Z0JW4p1LiW35RE/oiErvPh1GrXXLh3qBdd5JEqZek omwN4urWu7nu
wDEbdEUdA5bQiJFQG03jJCLei9KERsvA26jBzl6yLKbeMkosu8faaXbfWUWH p5FHxcJYBmJR
i1tBFueBWPFMZKy2dM7HNmzjjcYmnugUH+ndhrXeaNgjQ6w9seVXI/HmkiTU 7zR+z24Z/r7c
KEeuFqVMXV/LeEd3GgQ8HtGsdxLMqTYhD/QmZeJO5AKVy1zB6nedgfYQRPR+ I8mt+XROSCod
9bX4kYZhg6LsUCxNx7U+tGz55w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vVtsVAsb9PvdwubiRzUuf5LvcJBS7Mw5qsE3qqfrFd+oOyaPPL5CM4Iq oUCoQktPp9fU
9Q7ql1yZizQUOUZctZXafDpM7m/PoohHw+2gpoeJ6K7RrL+avZJ3rnkv7ept Dvr79HY6Hrpk
YPXEZHf+nkUy/2ued/2c0tPdVo35gsdBQjdVyubi8dzb47hTU9o68HT9PFRT qZx4uuRUrUth
8FWvi9l2Gp14onOYn71rMpX2V1ynXq9MIbVdmX6/U2X+DFiQ/FWtSTNBukRa vf5OmzN5YNQK
8yY59zxUrfo52a65l0I9uPHoKYP9gIR8lh38sv/L6OJKFt8w7Y5j8+wja3Xk vts+cnFKLYbM
JHLWqPX2YqfvrkKaBOHauytfOsXnxZKXau3Nwn1rDzOwXXLdjx9tzmIDOIvh YzucxfCbIPwm
CN9t4rtNfLcJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlI ApKAJCAJSAKS
gCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQg CUgCkoAkIAlI
ApKAJCAJSAKSgCQgCUgCkoAkIAlIApKAJCAJSAKSgCQgCUgCkoAkIAlIApJw FoOzGGgJWoKW
cBaDsxicxeAsBmcxOIv9dmex/wFQSwECFAAUAAIACABrdZQ2D9i1WIoHAAC3 1wAABAAAAAAA
AAABACAAAAAAAAAALmxvZ1BLBQYAAAAAAQABADIAAACsBwAAAAA=
--------------050100070801060200030500--
Re: CDateTime uses a lot of Windows handles [message #581479 is a reply to message #33563] Sat, 28 April 2007 09:51 Go to previous message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
> interesting... :)
>
> has anyone seen this sort of issue on GTK or Carbon? (is this an issue on
> those platforms?)
>

Hmm, I think you should using lightweight design, for examples:

http://www.spket.com/widget.html

These control only use 1-3 handler, just take a look at:

http://www.codeproject.com/

most complicated control are lightweight control, that's the same reason
all the web browser a lightweight control...

http://blogs.msdn.com/oldnewthing/archive/2005/02/11/371042. aspx

Eric
Previous Topic:Gallery Item Text Color
Next Topic:CTreeViewer status
Goto Forum:
  


Current Time: Fri Mar 29 14:01:22 GMT 2024

Powered by FUDForum. Page generated in 0.05940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top