java.lang.OutOfMemoryError: Java heap space
-------------------------------------------

                 Key: MCOBERTURA-95
                 URL: http://jira.codehaus.org/browse/MCOBERTURA-95
             Project: Maven 2.x Cobertura Plugin
          Issue Type: Bug
    Affects Versions: 2.2
         Environment: WIndows, JDK1.5, JBoss 5.0.0, Seam, TestNG, JPA
            Reporter: Alvaro Puertas


Hi!!.

I'm trying to do cobertura for my tests in a maven project. All the test runs 
correctly but i can't make cobertura reports. 

MAVEN_OPTS :  -Xmx1024m -Xms1024m

c:\fb4-oasis\oasis-svn\java\oasis-core-dao>mvn cobertura:cobertura
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building oasis-core-dao
[INFO]    task-segment: [cobertura:cobertura]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing cobertura:cobertura
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [cobertura:instrument]
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file

[ERROR] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at java.io.Win32FileSystem.resolve(Unknown Source)
        at java.io.File.<init>(Unknown Source)
        at 
net.sourceforge.cobertura.instrument.CoberturaFile.<init>(CoberturaFile.java:48)
        at 
net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:465)
        at net.sourceforge.cobertura.instrument.Main.main(Main.java:514)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to instrument project.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 57 seconds
[INFO] Finished at: Tue Mar 10 16:21:20 CET 2009
[INFO] Final Memory: 10M/1016M
[INFO] ------------------------------------------------------------------------
Thank you very much.

Alvaro.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to