I started experiencing it recently too, as has Patrick.

I dug a little, and I think I found the problem: it looks like the Maven surefire unit test plugin defaults to forking the tests, and it doesn't seem to pass on the Maven max memory option. So it seems that our tests were running with the system JVMs default max memory (which, IIRC, is something like 16m). I'm somewhat surprised that we never ran into OOME errors before this. We probably just added one or two more tests that took us over the edge in terms of memory use.

Putting the following in the surefire plugin section seems to fix the problem:

   <argLine>-Xmx500m</argLine>

Additionally, the tests seems to now run much faster than before with that new flag, so that's nice.

I'll commit that change shortly, unless anyone has any other ideas.


On Aug 21, 2007, at 6:37 PM, Pinaki Poddar wrote:

I did not want to disturb the release process by any means -- I was just recording the experience of someone who just downloaded OpenJPA release
1.0.0.


Pinaki Poddar
972.834.2865

-----Original Message-----
From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of
Marc Prud'hommeaux
Sent: Tuesday, August 21, 2007 5:34 PM
To: [email protected]
Subject: [RESCIND VOTE] Approve OpenJPA 1.0.0 release


Based on this objection, I'm canceling this vote and will re-build an
artifact with the patch in a few hours. I expect to start another vote
around midnight tonight EST.

If anyone else has noticed any other problems, cosmetic or otherwise,
now would be a good time to mention them...



On Aug 21, 2007, at 4:19 PM, Pinaki Poddar wrote:

Hi Mike,
 I set MAVEN_OPTS=-Xmx1G (oh my poor laptop).
 Then, OutOfMemory error does not show up. But test suote still fails

  Results :
  Tests run: 270, Failures: 0, Errors: 4, Skipped: 0

  Is it all running OK in your environment?


Pinaki Poddar
972.834.2865

-----Original Message-----
From: Michael Dick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 21, 2007 2:11 PM
To: [email protected]
Subject: Re: [VOTE] Approve OpenJPA 1.0.0 release

I had no problem with the downloads or the builds. I'm on Linux though

so it's not exactly apples to apples.

Pinaki, have you tried increasing the heap size for maven? The easiest

way to test it is to set the MAVEN_OPTS environment variable before
running the command.

Something like this should work :

set MAVEN_OPTS=-Xmx2G
mvn package

2 gig is probably overkill but you can tweak that to suit your
environment.

-Mike

On 8/21/07, Patrick Linskey <[EMAIL PROTECTED]> wrote:

FWIW, I was able to download and extract with no problem.

-Patrick

On 8/21/07, Pinaki Poddar <[EMAIL PROTECTED]> wrote:
On Windows XP/FireFox Browser (version 2.0.0.6), multiple attempts
to download apache-openjpa-1.0.0-binary.zip From
http://openjpa.apache.org/builds/1.0.0/downloads/ failed with "Can
not open file: It does not appear to be valid archive".

apache-openjpa-1.0.0-source.zip downloaded without any problem.



Pinaki Poddar
972.834.2865

-----Original Message-----
From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf

Of Marc Prud'hommeaux
Sent: Tuesday, August 21, 2007 11:42 AM
To: [email protected]
Subject: [VOTE] Approve OpenJPA 1.0.0 release

OpenJPA Developers-

A candidate build for OpenJPA 1.0.0 is available at:

   http://openjpa.apache.org/builds/1.0.0/downloads/

Please review these artifacts and signatures, and vote whether we
should release them as Apache OpenJPA version 1.0.0. Release notes
for this release are included in the artifact, or can be browsed at:

   http://svn.apache.org/repos/asf/openjpa/branches/1.0.0/openjpa-
project/RELEASE-NOTES.html

The Apache Release Audit Tool has been run on the release, and no
missing licenses were found with the exceptions listed in the
exclusion section of the "rat-maven-plugin" configuration in http://

svn.apache.org/repos/asf/openjpa/branches/1.0.0/pom.xml .

In accordance with http://www.apache.org/foundation/
voting.html#ReleaseVotes , three +1 votes will be sufficient to
approve the release for publication. While it is not possible to
veto a release, the vote will remain open for the standard 3 day
period (ending at 12:00 EST on Friday 8/24) in order to allow people

to thoroughly review the release and perform whatever additional
testing they desire and raise any concerns or objections.

A vote of "+1" means you approve of the release for publication,
"-1"
means you do not approve, and a "+0" or "-0" means you are neutral.

Thanks in advance for your diligence in helping to ensure that the
quality of the OpenJPA 1.0.0 release reflects the high quality of
all of its contributors!



Notice:  This email message, together with any attachments, may
contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and
affiliated entities,  that may be confidential,  proprietary,
copyrighted  and/or legally privileged, and is intended solely for
the

use of the individual or entity named in this message. If you are not

the intended recipient, and have received this message in error,
please immediately return this by email and then delete it.



--
Patrick Linskey
202 669 5907


Notice:  This email message, together with any attachments, may
contain information  of  BEA Systems,  Inc.,  its subsidiaries
and  affiliated entities,  that may be confidential,  proprietary,
copyrighted and/or legally privileged, and is intended solely for the

use of the individual or entity named in this message. If you are not
the intended recipient, and have received this message in error,
please immediately return this by email and then delete it.


Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

Reply via email to