Home » Language IDEs » ServerTools (WTP) » Saving is very slow
Saving is very slow [message #156497] |
Sat, 14 January 2006 06:38  |
Eclipse User |
|
|
|
Originally posted by: philipp.leusmann._NOSPAM_rwth-aachen.de
Hi,
I am using eclipse 3.1.1 with WTP 1.0.
Every time I save changes to a file in the project it takes around 5-10
seconds no matter what kind of file this is.
I am writing it to this group, because it didn
|
|
| | |
Re: Saving is very slow [message #156870 is a reply to message #156824] |
Mon, 16 January 2006 23:48   |
Eclipse User |
|
|
|
Originally posted by: ifedorenko.rogers.com
Arthur,
You need to give WTP developers ways to debug your problem. I would
start with taking java thread dump while WTP is busy saving. On Windows
you'll need to start Eclipse/WTP with -console parameter to get console
window. Do it few time to see if the same method executes each time.
Hopefully, this will allow somebody pin-point location of the problem.
Another possibility is to provide sample project or projects that
demonstrate the problem so developers can run WTP under profiler.
Arthur Gaudio wrote:
> I am also having this problem. The latest M-build (as of 2006-01-16) did
> not solve this problem. This is really a showstopper, since saving takes
> 10 to 15 seconds every time, followed by the long wait for publishing.
> Help.
>
> Thanks,
> Chip
>
> Igor Fedorenko wrote:
>> This could be https://bugs.eclipse.org/bugs/show_bug.cgi?id=121692 .
>> Try latest M-build, should be fixed there.
>>
>> Philipp Leusmann wrote:
>>> Hi,
>>>
>>> I am using eclipse 3.1.1 with WTP 1.0.
>>> Every time I save changes to a file in the project it takes around
>>> 5-10 seconds no matter what kind of file this is.
>>> I am writing it to this group, because it didn╢t happen bevor I
>>> installed the WTP.
>>> Anyone has any idea what is happening?
>>>
>>> Thanks,
>>> Philipp
>>>
|
|
|
Re: Saving is very slow [message #156884 is a reply to message #156870] |
Tue, 17 January 2006 03:17   |
Eclipse User |
|
|
|
Originally posted by: arthur.gaudio.gmail.com
Hello again,
I tried what you suggested with -console, but nothing displays there.
All I see is:
osgi>
Maybe I am doing something wrong? As for a sample project, my little
test project consists of 1 class which is 12 lines - a simple
FileComparator which implements java.util.Comparator<File> and 1 JSP
which is 52 lines long...
....hold on. I just discovered something. My project also consists of a
series of photoalbums that are each independently created by the tools
JAlbum (great program by the way - http://www.jalbum.net/). I have been
running my projects on the Tomcat server I created in Eclipse from my
workspace. I have been assuming that the problem is in the
compilation/building, but I just realized that if I move all the JPEGS
and supporting HTML pages out of the workspace, everything moves MUCH
more quickly. So, I guess the question is, where should I be placing
this static content so that WTP doesn't take it into consideration when
saving/publishing.
/Chip
Igor Fedorenko wrote:
> Arthur,
>
> You need to give WTP developers ways to debug your problem. I would
> start with taking java thread dump while WTP is busy saving. On Windows
> you'll need to start Eclipse/WTP with -console parameter to get console
> window. Do it few time to see if the same method executes each time.
> Hopefully, this will allow somebody pin-point location of the problem.
> Another possibility is to provide sample project or projects that
> demonstrate the problem so developers can run WTP under profiler.
>
> Arthur Gaudio wrote:
>> I am also having this problem. The latest M-build (as of 2006-01-16)
>> did not solve this problem. This is really a showstopper, since saving
>> takes 10 to 15 seconds every time, followed by the long wait for
>> publishing. Help.
>>
>> Thanks,
>> Chip
>>
>> Igor Fedorenko wrote:
>>> This could be https://bugs.eclipse.org/bugs/show_bug.cgi?id=121692 .
>>> Try latest M-build, should be fixed there.
>>>
>>> Philipp Leusmann wrote:
>>>> Hi,
>>>>
>>>> I am using eclipse 3.1.1 with WTP 1.0.
>>>> Every time I save changes to a file in the project it takes around
>>>> 5-10 seconds no matter what kind of file this is.
>>>> I am writing it to this group, because it didn╢t happen bevor I
>>>> installed the WTP.
>>>> Anyone has any idea what is happening?
>>>>
>>>> Thanks,
>>>> Philipp
>>>>
|
|
|
Re: Saving is very slow [message #158039 is a reply to message #156884] |
Thu, 26 January 2006 07:35  |
Eclipse User |
|
|
|
Originally posted by: constantine.plotnikov.gmail.com
I do not know if my bug is related or not. But I have also encountered
"saving is very slow" symptom too, but on some files rather than on
every file. See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=125316
The I use WTP purely for XML editing. So I do not know what actually
happens in your case. But if you are using XHTML and refer to schema/dtd
by system id and WTP tries to validate documents before publishing, you
could have hit the same bug. The schema/dtd in that case might be
downloaded from w3.org. Try to monitor IP traffic to check the case.
Constantine
Arthur Gaudio wrote:
> Hello again,
>
> I tried what you suggested with -console, but nothing displays there.
> All I see is:
>
> osgi>
>
> Maybe I am doing something wrong? As for a sample project, my little
> test project consists of 1 class which is 12 lines - a simple
> FileComparator which implements java.util.Comparator<File> and 1 JSP
> which is 52 lines long...
>
> ...hold on. I just discovered something. My project also consists of a
> series of photoalbums that are each independently created by the tools
> JAlbum (great program by the way - http://www.jalbum.net/). I have been
> running my projects on the Tomcat server I created in Eclipse from my
> workspace. I have been assuming that the problem is in the
> compilation/building, but I just realized that if I move all the JPEGS
> and supporting HTML pages out of the workspace, everything moves MUCH
> more quickly. So, I guess the question is, where should I be placing
> this static content so that WTP doesn't take it into consideration when
> saving/publishing.
>
> /Chip
>
> Igor Fedorenko wrote:
>> Arthur,
>>
>> You need to give WTP developers ways to debug your problem. I would
>> start with taking java thread dump while WTP is busy saving. On
>> Windows you'll need to start Eclipse/WTP with -console parameter to
>> get console window. Do it few time to see if the same method executes
>> each time. Hopefully, this will allow somebody pin-point location of
>> the problem. Another possibility is to provide sample project or
>> projects that demonstrate the problem so developers can run WTP under
>> profiler.
>>
>> Arthur Gaudio wrote:
>>> I am also having this problem. The latest M-build (as of 2006-01-16)
>>> did not solve this problem. This is really a showstopper, since
>>> saving takes 10 to 15 seconds every time, followed by the long wait
>>> for publishing. Help.
>>>
>>> Thanks,
>>> Chip
>>>
>>> Igor Fedorenko wrote:
>>>> This could be https://bugs.eclipse.org/bugs/show_bug.cgi?id=121692 .
>>>> Try latest M-build, should be fixed there.
>>>>
>>>> Philipp Leusmann wrote:
>>>>> Hi,
>>>>>
>>>>> I am using eclipse 3.1.1 with WTP 1.0.
>>>>> Every time I save changes to a file in the project it takes around
>>>>> 5-10 seconds no matter what kind of file this is.
>>>>> I am writing it to this group, because it didn╢t happen bevor I
>>>>> installed the WTP.
>>>>> Anyone has any idea what is happening?
>>>>>
>>>>> Thanks,
>>>>> Philipp
>>>>>
|
|
|
Goto Forum:
Current Time: Wed Mar 26 08:12:58 EDT 2025
Powered by FUDForum. Page generated in 0.03343 seconds
|