slow build and restart [message #138292] |
Mon, 12 September 2005 13:11 |
Eclipse User |
|
|
|
Originally posted by: jmvanel.nospam.free.fr
Hi all
I'm using WTP for a large (20Mb of source and 40Mb of libs) web application.
It is based on Cocoon and Slide(Webdav).
I have 3 Web projects and a plain Java project that is being referenced
by one Web project.
My problem is that the build and restart are sooo slow.
In particuliar , the "publishing to Tomcat ..." lasts long .
I suppose that WTP does the same job as a copy by Ant, but it certainly
does other things, like verification. Why is it so slow ? It's like it
does a rebuild everytime.
Also when I correct a syntaxt error on an small XML file it also very
long before the sandglass dispappears.
I'm wondering if any one here has met the same problems.
Maybe there are some settings that I missed.
I'm starting eclipse with :
eclipse -jvmargs -Xmx500M
but the system indicates that the process is at 550Mb .
|
|
|
Re: slow build and restart [message #138321 is a reply to message #138292] |
Mon, 12 September 2005 16:42 |
David Williams Messages: 722 Registered: July 2009 |
Senior Member |
|
|
On Mon, 12 Sep 2005 09:11:49 -0400, Jean-Marc Vanel <jmvanel@nospam.free=
..fr> wrote:
> I'm starting eclipse with :
> eclipse -jvmargs -Xmx500M
>
> but the system indicates that the process is at 550Mb .
>
That does sound like a large project, so not sure what to expect, but
just to quickly sanity check one side-case ... does your machine
really support a heap size of 500M? That is, do you have enough free
physical memory? (e.g. 1 or 2 gig of "ram" wihout too much else
going on?
I ask because I've seen some cases where using a large heap size
can actually increase disk page file swapping, and, in my experience,
disk swapping is often behind really long waits.
(and don't worry about the 550Mb system number being larger than 500M,
I suspect that number includes other uses of memory besides heap, so
it does indicate "things are full" ... but Java typically agressively us=
es
heap -- so prone to be full --, rather then doing garbage collection,
so by itself, is hard to say what that means.
Good luck!
|
|
|
Re: slow build and restart [message #138333 is a reply to message #138292] |
Mon, 12 September 2005 19:17 |
Eclipse User |
|
|
|
Originally posted by: ifedorenko.rogers.com
In our case we had problem with structured component builder running for
all projects in response to any change in either a web or any dependent
project. Check "Progress" view to see if that's the problem for you too,
we saw "Building workspace..." worker for too long too often there.
Jean-Marc Vanel wrote:
> Hi all
>
> I'm using WTP for a large (20Mb of source and 40Mb of libs) web
> application.
>
> It is based on Cocoon and Slide(Webdav).
> I have 3 Web projects and a plain Java project that is being referenced
> by one Web project.
>
> My problem is that the build and restart are sooo slow.
> In particuliar , the "publishing to Tomcat ..." lasts long .
>
> I suppose that WTP does the same job as a copy by Ant, but it certainly
> does other things, like verification. Why is it so slow ? It's like it
> does a rebuild everytime.
>
> Also when I correct a syntaxt error on an small XML file it also very
> long before the sandglass dispappears.
>
> I'm wondering if any one here has met the same problems.
> Maybe there are some settings that I missed.
>
> I'm starting eclipse with :
> eclipse -jvmargs -Xmx500M
>
> but the system indicates that the process is at 550Mb .
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.01878 seconds