2012-12-06 2 views
2

나는 수중 음파 탐지기에서 프로젝트를 분석 할 때 치명적인 오류가 발생합니다. 이 문제를 해결하기 위해 내가해야 할 일.
여기 내 로그 파일 데이터입니다.치명적인 오류 - 프로젝트를 분석 할 때

[INFO] ------------------------------------------------------------------------ 
[INFO] Preparing cobertura:cobertura 
[INFO] [dotnet:compile {execution: default-compile}] 
[INFO] The project Atlas is not a visual studio project 
[INFO] [cobertura:instrument {execution: default-instrument}] 
[INFO] Not executing cobertura:instrument as the project is not a Java classpath 
-capable package 
[INFO] [dotnet:test {execution: default-test}] 
[INFO] The project Atlas is not a visual studio project 
[INFO] [cobertura:cobertura {execution: default-cli}] 
[INFO] Not executing cobertura:report as the cobertura data file (D:\projects\At 
las\target\cobertura\cobertura.ser) could not be found 
[INFO] [14:49:17.078] Execute org.codehaus.mojo:cobertura-maven-plugin:2.4:cober 
tura done: 7453 ms 
[INFO] [14:49:17.078] Execute maven plugin cobertura-maven-plugin done: 7453 ms 
[INFO] [14:49:17.078] Sensor CoverageSensor... 
[INFO] [14:49:17.078] xml file path for coverityD:\projects\Atlas\target\site 
[INFO] ------------------------------------------------------------------------ 
[ERROR] FATAL ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] Java heap space 
[INFO] ------------------------------------------------------------------------ 
[INFO] Trace 
java.lang.OutOfMemoryError: Java heap spac 
at org.apache.xerces.dom.DeferredDocumentImpl.createChunk(Unknown Source 
) 
at org.apache.xerces.dom.DeferredDocumentImpl.ensureCapacity(Unknown Sou 
rce) 
at org.apache.xerces.dom.DeferredDocumentImpl.createNode(Unknown Source) 

    at org.apache.xerces.dom.DeferredDocumentImpl.createDeferredAttribute(Un 
known Source) 
    at org.apache.xerces.dom.DeferredDocumentImpl.setDeferredAttribute(Unkno 
wn Source) 
    at org.apache.xerces.parsers.AbstractDOMParser.startElement(Unknown Sour 
ce) 
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen 
t(Unknown Source) 
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent 
Dispatcher.dispatch(Unknown Source) 
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un 
known Source) 
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208) 
    at org.sonar.plugins.cpp.coverage.CoverageConvertor.generateOutputFile(C 
overageConvertor.java:62) 
    at org.sonar.plugins.cpp.coverage.CoverageSensor.analyse(CoverageSensor. 
java:97) 
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:6 
4) 
    at org.sonar.batch.phases.Phases.execute(Phases.java:93) 
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:13 
9) 
    at org.sonar.batch.bootstrap.Module.start(Module.java:83) 
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115) 
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105) 
    at org.sonar.batch.bootstrap.Module.start(Module.java:83) 
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.jav 
a:111) 
    at org.sonar.batch.bootstrap.Module.start(Module.java:83) 
    at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:73) 
    at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:60) 
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:150) 
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi 
nManager.java:490) 
    at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98) 
    at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79) 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 11 minutes 32 seconds 
[INFO] Finished at: Thu Dec 06 14:49:22 IST 2012 
[INFO] Final Memory: 38M/63M 
[INFO] ------------------------------------------------------------------------ 

감사

답변

1

어떻게 힙 크기를 늘리는 방법에 대한? 본질적으로 MAVEN_OPTS=-Xmx1024m (또는 더 높은 값)을 설정하고 다시 실행하십시오.

+0

어디에서 파일을 힙 크기를 늘려야합니까? –

+0

@ Renjith.R. 환경 변수 – Raghuram

관련 문제