OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | Febuary 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[exoplatform] Re: PermGen Space Headache


Patch applied! Thanks.

--
Patrice


On Fri, Feb 15, 2008 at 3:09 PM, Luis Arias <kaaloo@xxxxxxxxx> wrote:
Here is the patch in the attached file with settings for PermGen space
that work for me (256M) under java6 + the two casts due to java6.

Luis

On Fri, Feb 15, 2008 at 2:05 PM, Luis Arias <kaaloo@xxxxxxxxx> wrote:
> Hi Patrice,
>
>  Thanks for all your help.  I'm building now on java6 and I will send
>  you a patch later on as I have already had to do some very minor
>  changes such as casting in two classes that used generics and
>  reflection.
>
>  I wanted to let you know that I also had some problems in the deploy
>  phase because of missing files in the repository.  There where three
>  or four of them and they were basically earlier versions than those in
>  the repository for instance poi-3.0alpha1.jar instad of poi-3.0FINAL
>  which was already referenced in the repository.  I wasn't able to find
>  exactly where these files where declared.
>
>  Luis
>
>
>
>  On Fri, Feb 15, 2008 at 8:13 AM, Patrice Lamarque
>  <patrice.lamarque@xxxxxxxxx> wrote:
>  > Hello Luis,
>  >
>  > You are right, MAVEN_OPTS where ignored by the script. Thanks for spotting
>  > that. I just fixed it.
>  > Please update and get the new exoenv.sh.
>  >
>  > Now MAVEN_OPTS shoud be used at build time and JAVA_OPTS by tomcat runtime.
>  >  I am not sure if such a huge MaxPermSize is needed but I have set it to 128
>  > because I also have OutOfMemoryError sometimes.
>  >
>  > I also recommand using java5 for now, but let us know if you have some
>  > success with java6.
>  >
>  >
>  > regards,
>  >
>  >
>  > --
>  > Patrice Lamarque
>  > eXo Platform SAS
>  >
>  >
>  >
>  > On Thu, Feb 14, 2008 at 11:21 AM, Luis Arias <kaaloo@xxxxxxxxx> wrote:
>  > >
>  > >
>  > >
>  > > Hi,
>  > >
>  > > What are the right settings for not running out of PermGen space when
>  > > building ultimate ?  I've tried increasing MaxPermSize successively in
>  > > the exoenv.sh script to no avail.  I feel that the settings are not
>  > > being taken into account.  Is there an order involved ? I'm building
>  > > on latest java 6.
>  > >
>  > > MAVEN_OPTS="-Xshare:auto -Xms128m -Xmx512m -XX:MaxPermSize=512m"
>  > >
>  > > #echo "This is a test"
>  > > JAVA_OPTS="-Xshare:auto -Xms128m -Xmx512m -XX:MaxPermSize=512m
>  > > -Dexo.directory.base=$EXO_BASE_DIRECTORY"
>  > >
>  > > Thanks,
>  > >
>  > > --
>  > > Luis Arias
>  > > +33 6 14 20 87 93
>  > > skype : kaaloo
>  > >
>  > >
>  > > --
>  > > You receive this message as a subscriber of the exoplatform@xxxxxxx
>  > mailing list.
>  > > To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
>  > > For general help: mailto:sympa@xxxxxxx?subject=help
>  > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > >
>  > >
>  >
>  >
>  >
>
>
>
>  --
>
>
> Luis Arias
>  +33 6 14 20 87 93
>  skype : kaaloo
>



--
Luis Arias
+33 6 14 20 87 93
skype : kaaloo





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.