Try this:-
1. maven java:complie
2. maven test:test
3. maven jar:jar
4. maven site:generate
This would reduce the heap size at the time of "site"generate"
-----Original Message-----
From: vipul vij [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 05, 2003 2:47 PM
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]
