>Subject: Re: RE: Checkstyle Plugin - out of memory error Hi,
Sorry I forgot to post on the mailing list 283 classes Regards, Vipul > -----Original Message----- > >From: Vincent Massol <[EMAIL PROTECTED]> > >Date: Thu Jun 05 12:34:51 BST 2003 > >To: 'Maven Users List' <[EMAIL PROTECTED]> > >Subject: RE: Checkstyle Plugin - out of memory error > > This is real strange unless you have a huge amount of classes. How many > > classes do you have? > > -Vincent > > > -----Original Message----- > > > From: Aaron Robinson [mailto:[EMAIL PROTECTED] > > > Sent: 05 June 2003 13:10 > > > To: [EMAIL PROTECTED] > > > Subject: RE: Checkstyle Plugin - out of memory error > > > > > > Vince, > > > > > > I suspect this won't help my cause: - > > > > > > Changing the MAVEN_OPTS to use 1024 still results in an out of memory, > > > even > > > when limiting the goal to maven java:compile > > > > > > I'm stuck with maven at the moment as I cannot compile the java > > classes. I > > > have tried various flavours of jdks to no avail, including the latest > > > 1.4.2 > > > beta as suggested by sun. > > > > > > I suspect this is not a JDK problem, but possibly a maven/ant one? > > > > > > Aaron > > > > > > > > > >From: "Vincent Massol" <[EMAIL PROTECTED]> > > > >Reply-To: "Maven Users List" <[EMAIL PROTECTED]> > > > >To: "'Maven Users List'" <[EMAIL PROTECTED]> > > > >Subject: RE: Checkstyle Plugin - out of memory error > > > >Date: Thu, 5 Jun 2003 12:21:49 0200 > > > > > > > >BTW, I've committed a fix yesterday in CVS that allows you to change > > the > > > >memory without touching the maven.bat file. If you are working with > > the > > > >latest from CVS, simply create an environment variable named > > MAVEN_OPTS > > > >with a value of "-Xmx384m" > > > > > > > >-Vincent > > > > > > > > > -----Original Message----- > > > > > From: vipul vij [mailto:[EMAIL PROTECTED] > > > > > Sent: 05 June 2003 11:17 > > > > > To: [EMAIL PROTECTED] > > > > > Subject: Checkstyle Plugin - out of memory error > > > > > > > > > > Hello to you all, > > > > > > > > > > I keep on getting the following out of memory error when I run the > > > > > Checkstyle plugin. I have changed my > > > > > maven.bat as follows (according to the suggestion made by Alexey > > > >Demakov > > > > > in the mailing list): > > > > > > > > > > .............. > > > > > @REM Reaching here means variables are defined and arguments have > > been > > > > > captured > > > > > :endInit > > > > > @REM commented out by Vipul on 5/0/03 SET > > > >MAVEN_DEFAULT_OPTS="-Xmx160m" > > > > > @REM replaced with: > > > > > SET MAVEN_OPTS="-Xmx384m" > > > > > ............... > > > > > > > > > > I have half a Gig memory and have tried this plugin on a different > > box > > > > > with 768 MB still getting the same > > > > > error. : - ( > > > > > > > > > > Output from command prompt: > > > > > > > > > > C:\MAVEN\projects\rapide>maven checkstyle > > > > > __ __ > > > > > | \/ |__ _Apache__ ___ > > > > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > > > > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10-SNAPSHOT > > > > > > > > > > checkstyle:init: > > > > > > > > > > checkstyle:license: > > > > > > > > > > checkstyle:report: > > > > > [echo] Using C:\Documents and Settings\vipul > > > >vij\.maven\plugins\maven- > > > > > checks > > > > > tyle-plugin-2.0-SNAPSHOT\plugin-resources/sun_checks.xml for > > > >checkstyle > > > > > ... > > > > > > > > > > BUILD FAILED > > > > > file:C:/Documents and Settings/vipul > > > >vij/.maven/plugins/maven-checkstyle- > > > > > plugin- > > > > > 2.0-SNAPSHOT/plugin-resources/checkstyle.jsl:10:30: > > <jsl:stylesheet> > > > > > file:C:/Doc > > > > > uments and Settings/vipul > > > >vij/.maven/plugins/maven-checkstyle-plugin-2.0- > > > > > SNAPSHO > > > > > T/plugin-resources/checkstyle.jsl:36:71: <x:expr> > > > > > java.lang.OutOfMemoryError > > > > > Total time: 3 minutes 19 seconds > > > > > > > > > > C:\MAVEN\projects\rapide> > > > > > > > > > > > > > > > >======================================================================= > > = > > > >== > > > > > === > > > > > > > > > > Any help will kindly appreciated. > > > > > > > > > > Regards, > > > > > > > > > > Vipul > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > _________________________________________________________________ > > > Find a cheaper internet access deal - choose one to suit you. > > > http://www.msn.co.uk/internetaccess > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
