Re: maven site:generate --OutOf MemoryError

2004-08-27 Thread Shinobu Kawai

Hi jeff,

Oops, did I set Reply-To?  I'll answer to the ML.

> How do I ensure that checkstyle-report.xml  doesn't grow too big ?How do I control 
> that process?
I can think of two ways to do that.  Fix the source or change the rules.
http://maven.apache.org/reference/plugins/checkstyle/
http://checkstyle.sourceforge.net/

Oh, I forgot the ultimate way: deregister the report. :)

Best regards,
-- Shinobu Kawai

On Fri, 27 Aug 2004 01:00:01 -0700 (PDT)
jeff mutonho <[EMAIL PROTECTED]> wrote:

> Hi Shinobu 
> >Of course, the best approach to this is to don't let them grow that 
> >big. 
>  
> How do I ensure that checkstyle-report.xml  doesn't grow too big ?How do I control 
> that process?
> Thanks for responding to my post :)
> jeff mutonho
> 
> 
> Shinobu Kawai <[EMAIL PROTECTED]> wrote:
> 
> Hi jeff,
> 
> > After the OutOfMemoryError I've tried the following on the Linux box which has 
> > 512MB of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my 
> > .bash_profile file.I then run "maven site:generate" and when it get to the point 
> > where it prints the following :
> > xdoc:jelly-transform:
> > [echo] Generating 
> > /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html
> >  from 
> > /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
> > [echo] Generating 
> > /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html
> >  from 
> > /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml
> > 
> > It stalls there for a very long time.It's been running for 15 minutes now .Is this 
> > normal?
> That depends on how big your checkstyle-report.xml is. The bigger, the
> more time it takes to process.
> I have one 10MB... I only site:generate before I go to lunch or home. 
> Of course, the best approach to this is to don't let them grow that big. 
> ;-)
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven site:generate --OutOf MemoryError

2004-08-27 Thread Shinobu Kawai

Hi jeff,

> After the OutOfMemoryError I've tried the following on the Linux box which has 512MB 
> of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my .bash_profile file.I 
> then run "maven site:generate" and  when it get to the point where it prints the 
> following :
>  xdoc:jelly-transform:
> [echo] Generating 
> /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html
>  from 
> /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
> [echo] Generating 
> /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html
>  from 
> /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml
> 
> It stalls there for a very long time.It's been running for 15 minutes now .Is this 
> normal?
That depends on how big your checkstyle-report.xml is.  The bigger, the
more time it takes to process.
I have one 10MB...  I only site:generate before I go to lunch or home. 
Of course, the best approach to this is to don't let them grow that big. 
;-)

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven site:generate --OutOf MemoryError

2004-08-26 Thread jeff mutonho
After the OutOfMemoryError I've tried the following on the Linux box which has 512MB 
of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my .bash_profile file.I 
then run "maven site:generate" and  when it get to the point where it prints the 
following :
 xdoc:jelly-transform:
[echo] Generating 
/home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html
 from 
/home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
[echo] Generating 
/home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html
 from 
/home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml

It stalls there for a very long time.It's been running for 15 minutes now .Is this 
normal?
 
jeff mutonho


Paul Spencer <[EMAIL PROTECTED]> wrote:
Increase the amount of memory allocated to the JVM by setting the 
environment variable MAVEN_OPTS. The following allocate 512 MB.

set MAVEN_OPTS=-Xmx512m

Paul Spencer


jeff mutonho wrote:
> I ran the same command "maven site:generate" on an XP box and am getting an 
> OutOfMemoryError.The logs looks like
> 
> xdoc:jelly-transform:
> [echo] Generating D:/Maven/projects_main/projects/Support_Persis
> tence/target/docs/checkstyle-report.html from 
> D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml
> 
> BUILD FAILED
> File.. C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
> lugin.jelly
> Element... x:parse
> Line.. 360
> Column 43
> java.lang.OutOfMemoryError
> Total time: 1 minutes 18 seconds
> Finished at: Thu Aug 26 12:10:56 CAT 2004
> 
> jeff mutonho
> 
> jeff mutonho wrote:
> Hi guys.
> maven site:generate is failing with the following error message
> 
> [echo] Generating the Checkstyle...
> checkstyle:init:
> checkstyle:report:
> checkstyle:run:
> [echo] Using 
> file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml
>  for checkstyle ...
> SIGSEGV 11 (*) segmentation violation
> si_signo [11]: SIGSEGV: (*) segmentation violation
> si_errno [0]: Success
> si_code [1]: SEGV_MAPERR [addr: 0xD]
> stackpointer=0xbffc1af4
> Writing java dump to javacore18874.1093513782.txt ...
> 
> 
> 
> -
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> 
> -
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

Re: maven site:generate --OutOf MemoryError

2004-08-26 Thread Paul Spencer
Increase the amount of memory allocated to the JVM by setting the 
environment variable MAVEN_OPTS.  The following allocate 512 MB.

set MAVEN_OPTS=-Xmx512m
Paul Spencer
jeff mutonho wrote:
I ran the same command "maven site:generate" on an XP box and am getting an OutOfMemoryError.The logs looks like
 
xdoc:jelly-transform:
[echo] Generating D:/Maven/projects_main/projects/Support_Persis
tence/target/docs/checkstyle-report.html from D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml

BUILD FAILED
File.. C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
lugin.jelly
Element... x:parse
Line.. 360
Column 43
java.lang.OutOfMemoryError
Total time: 1 minutes 18 seconds
Finished at: Thu Aug 26 12:10:56 CAT 2004
 
jeff mutonho

jeff mutonho <[EMAIL PROTECTED]> wrote:
Hi guys.
maven site:generate is failing with the following error message
[echo] Generating the Checkstyle...
checkstyle:init:
checkstyle:report:
checkstyle:run:
[echo] Using 
file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml
 for checkstyle ...
SIGSEGV 11 (*) segmentation violation
si_signo [11]: SIGSEGV: (*) segmentation violation
si_errno [0]: Success
si_code [1]: SEGV_MAPERR [addr: 0xD]
stackpointer=0xbffc1af4
Writing java dump to javacore18874.1093513782.txt ...

-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter

-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: maven site:generate --OutOf MemoryError

2004-08-26 Thread jeff mutonho
I ran the same command "maven site:generate" on an XP box and am getting an 
OutOfMemoryError.The logs looks like
 
xdoc:jelly-transform:
[echo] Generating D:/Maven/projects_main/projects/Support_Persis
tence/target/docs/checkstyle-report.html from 
D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml

BUILD FAILED
File.. C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
lugin.jelly
Element... x:parse
Line.. 360
Column 43
java.lang.OutOfMemoryError
Total time: 1 minutes 18 seconds
Finished at: Thu Aug 26 12:10:56 CAT 2004
 
jeff mutonho

jeff mutonho <[EMAIL PROTECTED]> wrote:
Hi guys.
maven site:generate is failing with the following error message

[echo] Generating the Checkstyle...
checkstyle:init:
checkstyle:report:
checkstyle:run:
[echo] Using 
file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml
 for checkstyle ...
SIGSEGV 11 (*) segmentation violation
si_signo [11]: SIGSEGV: (*) segmentation violation
si_errno [0]: Success
si_code [1]: SEGV_MAPERR [addr: 0xD]
stackpointer=0xbffc1af4
Writing java dump to javacore18874.1093513782.txt ...



-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter

-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.