At least that gives us something to start with. When we have time we'll take
look.
On Nov 18, 2010, at 6:58 AM, Benson Margulies wrote:
OK, I have one for you.
And I cannot send you the auto-package, of course, since Eclipse hangs.
The URL might be a trifle familiar, at least in part.
Import all packages from:
scm:svn:https://svn.apache.org/repos/asf/cxf/trunk
On Wed, Nov 17, 2010 at 10:09 PM, Jason van Zyl<jason@xxxxxxxxxxxx> wrote:
We don't need you to make test cases, you need to give us a set of projects
that reproduces the problem.
From that point we can at least try to track down the problem.
Seriously, from what you've provided we can't do nothing. You can use Help>
Report Maven Issue ... and that will package up the projects, all the
configurations and log files so we'll have what you have. If it's a private
project then you have to get a little more creative or you can send it to us
privately. Or scrub out the sources and leave some fake sources and see if
the problem still happens and send that to us.
It's usually plugins that kill permgen and not Maven or M2Eclipse itself
which is why it's necessary the problem expressed in the project that's
causing the problems.
On Nov 17, 2010, at 9:32 PM, Benson Margulies wrote:
Really, hanging the Eclipse JVM hard should not be possible with a
plugin interaction.
However, I continued to investigate, and found the explanation. Maven
has soaked up a vast quantity of permgen space. When it runs Eclipse
out of permgen space, it's 'game over'.
I had to configure max perm gen to 512m.
While my projects are numerous, they're not vastly numerous, and none
of them do anything particularly abstruse.
I've now been a Maven user, and in fact evangelist in a small way, for
some time now, and I am somewhat frustrated with the view that us
users are 100% responsible for dealing with the difficulty of
converting abstruse maven problems into portable reproducable tests
cases.
Of course I do not expect you to hand me a solution to this sort of
thing on place, but I could help for some assistance in penetrating
the fog of war to learn what sort of problem I have.
If the problem lent itself to a small repro, I would have posted a
JIRA with a small repro. How about responding with some ideas about
how to get logging traffic out of M2ECLIPSE? I did not spot any place,
in a brief tour of the properties panes, where I could throw in a '-X'
in the hopes of learning something.
If eating all the permgen space disturbs you, as I might hope it
would, I'll happily invest some time in following whatever procedure
you might offer for investigating the problem. However, it's not
realistic for me to try to build a portable model of a collection of
30 projects in the hope that it would reproduce this effect.
On Wed, Nov 17, 2010 at 9:13 PM, Jason van Zyl<jason@xxxxxxxxxxxx> wrote:
This honestly doesn't help much.
Could be anything configured in your plugins interacting poorly with Maven.
We need something we can reproduce to help.
On Nov 17, 2010, at 3:59 PM, Benson Margulies wrote:
Version: Helios Service Release 1
Build id: 20100917-0705
M2ECLIPSE 0.10.2.20100623...
Maven 2.1.0.
I import my collection of projects, which is about 40 projects.
Building happens for a while until the Workspace percentage reaches 54%.
Eclipse hangs. jconsole loses its connection. Just before the hang,
memory usage was at 300Mb of heap.
I'm on MacOSX 10.6.4, current Java. I've got -Xmx1g in eclipse.ini.
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.
-- Eric Hoffer, Reflections on the Human Condition
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.
-- Jakob Burckhardt
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people.
-- Paul Graham
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
We know what we are, but know not what we may be.
-- Shakespeare
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
the course of true love never did run smooth ...
-- Shakespeare
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
To do two things at once is to do neither.
-—Publilius Syrus, Roman slave, first century B.C.