hudson 질문
- 작성자 :
- 장*정
- 작성일 :
- 2010-02-09 18:54:10
- 조회수 :
- 4,399
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
hudson 빌드시 아래와 같은 에러가 납니다..
며칠전까지 빌드가 잘됬었는데..
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gsbc
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target
[INFO] [resources:resources]
[WARNING] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 140 resources
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile]
[INFO] Compiling 589 source files to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target\classes
[HUDSON] Archiving C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\pom.xml to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\modules\gsbc$gsbc\builds\2010-02-09_18-04-14\archive\gsbc\gsbc\1\pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Error while executing the compiler.
Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58 seconds
[INFO] Finished at: Tue Feb 09 18:05:21 KST 2010
[INFO] Final Memory: 24M/63M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
channel stopped
Finished: FAILURE
며칠전까지 빌드가 잘됬었는데..
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gsbc
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target
[INFO] [resources:resources]
[WARNING] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 140 resources
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile]
[INFO] Compiling 589 source files to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target\classes
[HUDSON] Archiving C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\pom.xml to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\modules\gsbc$gsbc\builds\2010-02-09_18-04-14\archive\gsbc\gsbc\1\pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Error while executing the compiler.
Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58 seconds
[INFO] Finished at: Tue Feb 09 18:05:21 KST 2010
[INFO] Final Memory: 24M/63M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
channel stopped
Finished: FAILURE
A
안녕하세요.. 장태정님..
컴파일시에.. heap 메모리가 부족한 상황같습니다..
일단.. 해당 servlet container 재기동 후.. 빌드를 해보시기 바랍니다..
그래도 동일한 현상이 나타나면 maven compiler plugin에 메모리 옵션을 추가하시면 될 것 같습니다..
적용 예는 다음과 같습니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<fork>true</fork>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
</configuration>
</plugin>
그럼.. 즐거운 하루되십시오.
감사합니다.
컴파일시에.. heap 메모리가 부족한 상황같습니다..
일단.. 해당 servlet container 재기동 후.. 빌드를 해보시기 바랍니다..
그래도 동일한 현상이 나타나면 maven compiler plugin에 메모리 옵션을 추가하시면 될 것 같습니다..
적용 예는 다음과 같습니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<fork>true</fork>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
</configuration>
</plugin>
그럼.. 즐거운 하루되십시오.
감사합니다.