continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@online.de
Subject Re: AW: Re: java.lang.OutOfMemoryError: Java heap space wile checking out
Date Wed, 19 Jul 2006 08:34:46 GMT
Hi,

what is strange: 
In all other builds i get this log file:

D:\build\work\64>set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=512m 
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Accessmanagement
[INFO]    task-segment: [clean, deploy, site-deploy]
[INFO] ----------------------------------------------------------------------------
.......

but in the one with the memory problem the first line misses and on the error raises:
java.lang.OutOfMemoryError: Java heap space

What can i try to fix it?


Thanks,
Thorsten


I set an system environment variable (win2003) and added the 'set MAVEN_OPTS=...' in mvn.bat.



>ok, so the memory error isn't in continuum but in the maven execution. 
>Do you have defined MAVEN_OPTS for the user that run continuum? 
> 
>thorsten@... a écrit : 
>>> What is your continuum version? 
>> It is 1.0.3 
>> 
>> Here the complete log: 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | . 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250 2.6.0   
><17690057.1152801016650.JavaMail.SYSTEM@srv-ew-web> Queued mail for delivery 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | QUIT 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] 
>INFO  Notifier:mail                  - Sending message: From 
>'"Continuum@srv-ew-web" <olaf.hellwig@...>'. 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] 
>INFO  Notifier:mail                  - Recipient: To 
>'<olaf.hellwig@...>'. 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG: setDebug: JavaMail version 
>1.3.2 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG: getProvider() returning 
>javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
>Microsystems, Inc] 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: useEhlo true, useAuth 
>false 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: trying to connect to 
>host "172.16.0.14", port 25, isSSL false 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 220 SRV-KOMMSYS.intern.plath.de 
>Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Thu, 13 Jul 
>2006 16:30:14 +0200 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: connected to host 
>"172.16.0.14", port: 25 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | EHLO srv-ew-web 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-SRV-KOMMSYS.intern.plath.de 
>Hello [172.16.206.250] 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-TURN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-SIZE 20971520 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-ETRN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-PIPELINING 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-DSN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-ENHANCEDSTATUSCODES 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-8bitmime 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-BINARYMIME 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-CHUNKING 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-VRFY 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-X-EXPS GSSAPI NTLM LOGIN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-X-EXPS=LOGIN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-AUTH GSSAPI NTLM LOGIN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-AUTH=LOGIN 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-X-LINK2STATE 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250-XEXCH50 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250 OK 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"TURN", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"SIZE", arg "20971520" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"ETRN", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"PIPELINING", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension "DSN", 
>arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"ENHANCEDSTATUSCODES", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"8bitmime", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"BINARYMIME", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"CHUNKING", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"VRFY", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"X-EXPS", arg "GSSAPI NTLM LOGIN" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"X-EXPS=LOGIN", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"AUTH", arg "GSSAPI NTLM LOGIN" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"AUTH=LOGIN", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"X-LINK2STATE", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 
>"XEXCH50", arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Found extension "OK", 
>arg "" 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: use8bit false 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | MAIL FROM:<olaf.hellwig@...> 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250 2.1.0 
>olaf.hellwig@... OK 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | RCPT TO:<olaf.hellwig@...> 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250 2.1.5 olaf.hellwig@... 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP: Verified Addresses 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DEBUG SMTP:   
>olaf.hellwig@... 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | DATA 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 354 Start mail input; end with 
><CRLF>.<CRLF> 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Message-ID: 
><29446852.1152801016697.JavaMail.SYSTEM@srv-ew-web> 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Date: Thu, 13 Jul 06 16:30:16 
>+0200 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | From: "Continuum@srv-ew-web" 
><olaf.hellwig@...> 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | To: olaf.hellwig@... 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Subject: [continuum] BUILD ERROR: 
>Workbench 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | MIME-Version: 1.0 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Content-Type: text/plain; 
>charset=us-ascii 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Content-Transfer-Encoding: 7bit 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Online report : 
>http://srv-ew-web:8086/continuum/servlet/continuum/target/ProjectBuild.vm/view/ 
>ProjectBuild/id/51/buildId/302 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Build statistics: 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   State: Error 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Previous State: Error 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Started at: Do, 13 Jul 2006 
>16:30:12 +0200 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Finished at: Do, 13 Jul 2006 
>16:30:16 +0200 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Total time: 3s 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Build Trigger: Forced 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Exit code: 0 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Building machine hostname: 
>srv-ew-web 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Operating system : Windows 
>2003(Service Pack 1) 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 |   Java version : 1.5.0_06(Sun 
>Microsystems Inc.) 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>**************************************************************************** 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | Build Error: 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>**************************************************************************** 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | java.lang.OutOfMemoryError: Java 
>heap space 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | . 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | 250 2.6.0   
><29446852.1152801016697.JavaMail.SYSTEM@srv-ew-web> Queued mail for delivery 
>> INFO   | jvm 1    | 2006/07/13 16:30:17 | QUIT 
>> INFO   | jvm 1    | 2006/07/13 16:30:20 | 2006-07-13 16:30:20,275 
>[SocketListener0-4] ERROR VelocityComponent              - RHS of #set 
>statement is null. Context will not be modified. screens/ProjectBuild.vm [line 
>103, column 3] 
>> 
>> 
>> 
>>> Continuum doesn't use lot of memory and the build is done by maven itself, 
>so 
>>> your MAVEN_OPTS is 
>>> used for the build. 
>>> 
>>> What is your continuum version? 
>>> Send your logs before "Build Error". 
>>> 
>>> Emmanuel 
>>> 
>>> thorsten@... a écrit : 
>>>> Hi, 
>>>> 
>>>> for maven i set the environment variable MAVEN_OPTS to 
>>>> -Xmx1024m -Xms1024m -XX:MaxPermSize=512m and the build run ;-) 
>>>> 
>>>> Can i do something similar for continuum to let the build run? 
>>>> 
>>>> 
>>>> Thanks and Regards, 
>>>> Thorsten 
>>>> 
>>>> 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 
>>>> 
>*************************************************************************** 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | Build Error: 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 
>>>> 
>*************************************************************************** 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | java.lang.OutOfMemoryError: ava

> 
>>>> heap space 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | . 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | 250 2.6.0   
>>>> <21623010.1152788104289.JavaMail.SYSTEM@srv-ew-web> Queued mail for

>elivery 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:04 | QUIT 
>>>> INFO   | jvm 1    | 2006/07/13 12:55:08 | 2006-07-13 12:55:08,570 
>>>> [SocketListener0-4] ERROR VelocityComponent              - RHS of #set 
>>>> statement is null. Context will not be modified. screens/ProjectBuild.vm

>>> line 
>>>> 3, column 3] 
>>>> 
>>>> 
>>>> 
>> 
>> 
>> 
>

Mime
View raw message