Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Region Leaks in SWT application  RSS feed

 
ashhhhhhhh ashhhhhhhh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have worked upon an application in SWT.
When i ran my application along with GDICount in order to track the OS resource usage and their leaks, i noticed my apllication is leaking Region resources like an open tap.
But this leakage was only happening in winxp pro and not at all in win2k pro.
In fact in win2k, it is not incrementing the Region resources.
SWT uses OS resources in it to make a graphical component.
I dont know how can i handle these Region leakages as they cannot be disposed since they are not directly built through my code.
Can anybody who have idea or worked upon similar problem help in this issue?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ashhhhhhhh ashhhhhhhh",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with display names get deleted, often without warning

thanks,
Dave
 
ashhhhhhhh ashhhhhhhh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,
I did that but is suppose javaranch registratioon form is a buggy application.
I tried very hard to register with different senseful names but it kept on rejecting those.
I picked up this random one and it worked.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please PM me some of the other display names you tried? We can have a look to see why these failed.

thanks,
Dave.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!