|
|
|
The error message was from 00:06:25,132 12th May 2015
Hello Steve,
we have upgraded on the weekend to version 6.0.11 the problem unfortunately remains. Open database [/wxx/data/quickbuild/global-storage/root/xxxnet.de/rpo/Libraries/XXXXCommon/branches/RISplus/commit-stage/builds/460838/reports/jira/DEFAULT] failed. Database status [No active connections]. caused by: Unable to get connection from database url: jdbc:h2:/wxx/data/quickbuild/global-storage/root/xxxnet.de/rpo/Libraries/XXXXCommon/branches/RISplus/commit-stage/builds/460838/reports/jira/DEFAULT/jira caused by: Out of memory. [90108-175] caused by: unable to create new native thread ok, will restart
Upgrading is on our road map, we may now speed it up. thank you How about restart your QuickBuild? I suggest you can restart the QuickBuild, in most cases, this can help h2 to recover from the previous error.
And how about upgrade to the latest QuickBuild, as we have upgraded h2 to version 1.3.175, it fixes some memory leak issue. The same (or at least similar) problem has occured again.
Memory seems to be enough This time its a very small project ( 2 classes, 2 test classes) The db file is not big. Open database [/wxx/data/quickbuild/global-storage/root/svn2.eil.risnet.de/tools/ci/reports-example-ci/branches/systems/commit-stage/configurations/15866/reports/buildstats/DEFAULT] failed. Database status [No active connections]. caused by: Unable to get connection from database url: jdbc:h2:/wxx/data/quickbuild/global-storage/root/svn2.eil.risnet.de/tools/ci/reports-example-ci/branches/systems/commit-stage/configurations/15866/reports/buildstats/DEFAULT/buildstats caused by: Out of memory. [90108-175] caused by: unable to create new native thread from build Log: 00:00:35,665 INFO - Checking out revision '1865490' of repository 'mainstream-repo'... 00:00:35,665 INFO - Checking out (url: http://xxx.de/tools/ci/reports-example//branches/systems, to: /wxx/app/buildagent/workspace/root/xxx.de/tools/ci/reports-example-ci/branches/systems/commit-stage, revision: 1865490) 00:00:40,994 INFO - Getting changes of 'mainstream-repo' since build '3.0.0-SNAPSHOT'... 00:00:41,453 INFO - Executing post-execute action... 00:00:41,453 ERROR - Step 'master>stage-commit>workspace-checkout_head' is failed: Open database [/wxx/data/quickbuild/global-storage/root/svn2.eil.risnet.de/tools/ci/reports-example-ci/branches/systems/commit-stage/builds/440118/reports/scm_activity/DEFAULT] failed. Database status [No active connections]. the contents of DEFAULT [user@vvm780 DEFAULT]$ pwd /xxx/quickbuild/global-storage/root/xxx/tools/ci/reports-example-ci/branches/systems/commit-stage/configurations/15866/reports/buildstats/DEFAULT [user@vvm780 DEFAULT]$ ll total 64 -rw-r--r--. 1 user group 59392 Apr 22 16:19 buildstats.h2.db -rw-r--r--. 1 user group 100 Apr 23 00:00 buildstats.lock.db -rw-r--r--. 1 user group 62 Apr 22 16:19 latest.id [user@vvm780 DEFAULT]$ Please help For this issue, there are two most possible reason:
1. The memory of your QuickBuild instance is small, you can increase the memory by editing file: $(quickbuild-home}/conf/wrapper.conf and change the line: wrapper.java.maxmemory=a bigger memory 2. The database itself is too large for QuickBuild to open. You can check below file to see how large this file is: /xxx/builds/432446/reports/jira/DEFAULT/jira.h2.db If this file is very large, you still have to add more memory to QuickBuild like aforementioned way. |
please close the ticket.