Home » Language IDEs » PHP Development Tools (PDT) » PDT - Excruciatingly Long Build Times
PDT - Excruciatingly Long Build Times [message #52546] |
Tue, 18 September 2007 08:49  |
Eclipse User |
|
|
|
I have recently inherited a very large PHP project, and I'm having some
grave issues with the project build-times in Eclipse.
The App contains about 2700 PHP files. By my reckoning, about 1300 of
them are simply symlinks. Symlinks abound in this codebase.
I have the root project folder mounted over NFS, and my Eclipse project's
base folder is simply a 'linked resource' pointing to the NFS root
folder. I can see the files and open them with no issue.
The problem that I'm having is that when PDT invokes the PHP project
builder, it fires off and then ... nothing. It sits at 0% forever. It got
as far as 5% once before I got nasty-impatient and killed Eclipse.
I've allocated 512M of memory to Eclipse, but that seems to have had no
effect.
I exec lsof and grep for open .php files, and I see that eclipse is
indeed accessing those files, typically, a pipe to 'wc -l' indicates that
about 100 to 110 files are open at any given moment.
I've diffed the output of this lsof command and noticed that most of the
files never close. I get some diffs, some files are parsed, but the vast
majority of them are 'hung', for lack of a better term.
Would anyone be able to give me some advice and/or insight as to what's
going on here?
I've tried removing the project from the Build Order list, to no effect.
I've tried setting the project's properties to "PHP4", which it is,
instead of the default PHP5, also, this has had no effect.
Thanks.
|
|
| |
Re: PDT - Excruciatingly Long Build Times [message #52970 is a reply to message #52546] |
Wed, 19 September 2007 07:44   |
Eclipse User |
|
|
|
Hi I have been bitten by the same problem.
After installing pdt-all-in-one-incubation-S20070910_RC1-win32.zip, and
copying my files to a new workspace(7.16 MB 695 files in 119 folders) I
experienced the 0% hang for several minutes every time I started the
workspace, the problem was solid and went on for several days.
I have contacted Guy Gurfinkel at Zend to have Bug 155214 reopened, but he
has advised me to create a new Bug for the problem if I was able to
recreate.
Unfortunately, before I received his note, I Installed MYLYN from their
update site, the MYLYN installation alo pulled in PDT.SDK.FEATURE.U20070910;
and the problem had disappered.
I have no clue to what the problem was, a timing problem with a hung thread
perhaps, if that is the case it might be a very difficult bug to eliminate.
Jlevy I will pass Guy's advice on to you
good luck
Henning
"jlevy" <jeffmlevy@gmail.com> skrev i meddelelsen
news:fcohhm$lim$1@build.eclipse.org...
>I have recently inherited a very large PHP project, and I'm having some
> grave issues with the project build-times in Eclipse.
>
> The App contains about 2700 PHP files. By my reckoning, about 1300 of
> them are simply symlinks. Symlinks abound in this codebase.
>
> I have the root project folder mounted over NFS, and my Eclipse project's
> base folder is simply a 'linked resource' pointing to the NFS root
> folder. I can see the files and open them with no issue.
>
> The problem that I'm having is that when PDT invokes the PHP project
> builder, it fires off and then ... nothing. It sits at 0% forever. It got
> as far as 5% once before I got nasty-impatient and killed Eclipse.
>
> I've allocated 512M of memory to Eclipse, but that seems to have had no
> effect.
>
> I exec lsof and grep for open .php files, and I see that eclipse is
> indeed accessing those files, typically, a pipe to 'wc -l' indicates that
> about 100 to 110 files are open at any given moment.
>
> I've diffed the output of this lsof command and noticed that most of the
> files never close. I get some diffs, some files are parsed, but the vast
> majority of them are 'hung', for lack of a better term.
>
> Would anyone be able to give me some advice and/or insight as to what's
> going on here?
>
> I've tried removing the project from the Build Order list, to no effect.
>
> I've tried setting the project's properties to "PHP4", which it is,
> instead of the default PHP5, also, this has had no effect.
>
> Thanks.
|
|
|
Re: PDT - Excruciatingly Long Build Times [message #53284 is a reply to message #52546] |
Wed, 19 September 2007 21:40  |
Eclipse User |
|
|
|
Originally posted by: eclipsenews.20.epm.spamgourmet.com
I have a suspicion this is related to the rogue 'scanning for tasks'
problem that exists in WTP 2.0.
Do you find it impossible to cancel the build task?
See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189276
jlevy wrote:
> I have recently inherited a very large PHP project, and I'm having some
> grave issues with the project build-times in Eclipse.
>
> The App contains about 2700 PHP files. By my reckoning, about 1300 of
> them are simply symlinks. Symlinks abound in this codebase.
>
> I have the root project folder mounted over NFS, and my Eclipse project's
> base folder is simply a 'linked resource' pointing to the NFS root
> folder. I can see the files and open them with no issue.
>
> The problem that I'm having is that when PDT invokes the PHP project
> builder, it fires off and then ... nothing. It sits at 0% forever. It got
> as far as 5% once before I got nasty-impatient and killed Eclipse.
>
> I've allocated 512M of memory to Eclipse, but that seems to have had no
> effect.
>
> I exec lsof and grep for open .php files, and I see that eclipse is
> indeed accessing those files, typically, a pipe to 'wc -l' indicates that
> about 100 to 110 files are open at any given moment.
>
> I've diffed the output of this lsof command and noticed that most of the
> files never close. I get some diffs, some files are parsed, but the vast
> majority of them are 'hung', for lack of a better term.
>
> Would anyone be able to give me some advice and/or insight as to what's
> going on here?
>
> I've tried removing the project from the Build Order list, to no effect.
>
> I've tried setting the project's properties to "PHP4", which it is,
> instead of the default PHP5, also, this has had no effect.
>
> Thanks.
|
|
|
Goto Forum:
Current Time: Wed May 07 21:57:11 EDT 2025
Powered by FUDForum. Page generated in 0.02943 seconds
|