Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » javaw.exe keeps running in Windows
javaw.exe keeps running in Windows [message #449327] Fri, 21 January 2005 19:46 Go to next message
Bill Ewing is currently offline Bill EwingFriend
Messages: 49
Registered: July 2009
Member
After we run our app (under eclipse or standalone), an instance of
javaw.exe (Windows' virtual machince launcher) remains in the Task Manager.

After coding and debugging for an hour, there's lots of them. Eventually,
system problems occur.

This problem is very noticeable when we cannot delete or rename an
application-related file because it is "in use." Using Task Manager to
kill off the javaw.exe remedies this problem. However, one of the
javaw.exe's was used to launch eclipse, so killing it immediately takes
down eclipse (with no file saves).

Our current hypothesis is that we are failing to dispose() of resources
(probably a nonstandard Color object obtained from a GC).

Does this sound like the right theory and does anybody have a similar
experience they'd like to share?
Re: javaw.exe keeps running in Windows [message #449330 is a reply to message #449327] Fri, 21 January 2005 20:53 Go to previous messageGo to next message
Bahram is currently offline BahramFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,
I think it happens when you do not dispose display object.
Bahram
"Bill Ewing" <ewing@irori.com> wrote in message
news:csrm5u$sp1$1@www.eclipse.org...
> After we run our app (under eclipse or standalone), an instance of
> javaw.exe (Windows' virtual machince launcher) remains in the Task
Manager.
>
> After coding and debugging for an hour, there's lots of them. Eventually,
> system problems occur.
>
> This problem is very noticeable when we cannot delete or rename an
> application-related file because it is "in use." Using Task Manager to
> kill off the javaw.exe remedies this problem. However, one of the
> javaw.exe's was used to launch eclipse, so killing it immediately takes
> down eclipse (with no file saves).
>
> Our current hypothesis is that we are failing to dispose() of resources
> (probably a nonstandard Color object obtained from a GC).
>
> Does this sound like the right theory and does anybody have a similar
> experience they'd like to share?
>
Re: javaw.exe keeps running in Windows [message #449333 is a reply to message #449330] Fri, 21 January 2005 21:54 Go to previous message
Bill Ewing is currently offline Bill EwingFriend
Messages: 49
Registered: July 2009
Member
Bahram wrote:

> Hi,
> I think it happens when you do not dispose display object.
> Bahram
> "Bill Ewing" <ewing@irori.com> wrote in message
> news:csrm5u$sp1$1@www.eclipse.org...
>> After we run our app (under eclipse or standalone), an instance of
>> javaw.exe (Windows' virtual machince launcher) remains in the Task
> Manager.
>>
>> After coding and debugging for an hour, there's lots of them. Eventually,
>> system problems occur.
>>
>> This problem is very noticeable when we cannot delete or rename an
>> application-related file because it is "in use." Using Task Manager to
>> kill off the javaw.exe remedies this problem. However, one of the
>> javaw.exe's was used to launch eclipse, so killing it immediately takes
>> down eclipse (with no file saves).
>>
>> Our current hypothesis is that we are failing to dispose() of resources
>> (probably a nonstandard Color object obtained from a GC).
>>
>> Does this sound like the right theory and does anybody have a similar
>> experience they'd like to share?
>>


Hi Bahram. Excellent idea, thank you for taking the time to share it.

We went through our code and checked every use of Display, but still have
the problem.

((On this subject, would everyone agree that in general, once your app is
up and running, it is a good idea to use the static method
"Display.getCurrent()" when you need a reference to the display?))
Previous Topic:Browser widget on Linux and native crashes
Next Topic:What's making my dropdown menu popup
Goto Forum:
  


Current Time: Fri Apr 26 10:03:05 GMT 2024

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

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

Back to the top