Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6767363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:56:32+00:00 2026-05-26T14:56:32+00:00

i am using sonar 2.6 and on running the command: mvn site cobertura:cobertura i

  • 0

i am using sonar 2.6
and on running the command:

mvn site cobertura:cobertura

i am getting the following error…

Tests run: 1397, Failures: 10, Errors: 117, Skipped: 0

Flushing results...
Flushing results done
Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974
)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.ArrayList.readObject(ArrayList.java:593)
    at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974
)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
47)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:48
0)
    at net.sourceforge.cobertura.coveragedata.LineData.readObject(LineData.j
ava:525)
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974
)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.HashMap.readObject(HashMap.java:1030)
    at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974
)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
[ERROR] There are test failures.

My machine has win-XP with 32 bit environment and 3.2gb RAM.
PS i have already set the env variaable MAVEN_OPTS to 512M.
As i am not able to set it to any higher value coz then i get

Unable to load JVM error.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:56:33+00:00Added an answer on May 26, 2026 at 2:56 pm

    There are a few properties to look at. In addition to cobertura.maxmen (per Raghuram’s pointer above, look at the configuration for the surefire plugin. Make sure that forkMode is not never – but experiment.

    Note in the description of the jvm property that “JVM settings are not inherited from MAVEN_OPTS.” Try setting your memory options there, instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we're running tests and updating results to a Sonar server (using Mave by the
When running Sonar 3.2 I get the following error message displayed when I try
When I start Sonar (StartSonar.bat), I get the following error in the log file.
I'm using Sonar 3.0.1 with the C-Sharp Plugins Ecosystem plug-in. When running an analysis
I'm using SONAR 2.13.1 plugin for Hudson 2.2.0. The following is the stack trace
I'm using SONAR for my project. When I execute mvn sonar:sonar , it throws
Ok I am using Sonar to check code quality. It's telling me this simple
I am setting up a Sonar project (using the delphi plugin), for simplicity sake
Using the Redis info command, I am able to get all the stats of
I have a problem using Jenkins and Sonar. Here is my setup: a main

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.