I am in the process of getting jBPM up and running with the hypersonic database and ran
into an OutOfMemory exception while performing the build.xml junit tests.
Setting VM arguments under the JRE tab in the eclipse run dialog was unsuccessful. These
are the settings I tried.
-Xms512M -Xmx512M
and
-Xms256M -Xmx1024M
I am running
eclipse 3.1.2
jre1.5.0_09
jbpm 3.1.2
I know this is a pretty basic question, and I am really hoping someone here is kind enough
to give me a little help.
Thanks!
John
PS: Here is the last section of the console log...
| [junit] drop table JBPM_TASKCONTROLLER if exists
| [junit] drop table JBPM_TASKINSTANCE if exists
| [junit] drop table JBPM_TIMER if exists
| [junit] drop table JBPM_TOKEN if exists
| [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap
space
| [junit] drop table JBPM_TOKENVARIABLEMAP if exists
| [junit] drop table JBPM_TRANSITION if exists
| [junit] drop table JBPM_VARIABLEACCESS if exists
| [junit] drop table JBPM_VARIABLEINSTANCE if exists
| [junit] 12:57:33,201 [main] INFO SchemaExport : schema export complete
| [junit] 12:57:33,201 [main] INFO DriverManagerConnectionProvider : cleaning up
connection pool: jdbc:hsqldb:mem:.;sql.enforce_strict_size=true
| [junit] 12:57:33,201 [main] DEBUG JbpmContext : closing JbpmContext
| [junit] 12:57:33,892 [Finalizer] INFO DriverManagerConnectionProvider : cleaning
up connection pool: jdbc:hsqldb:mem:.;sql.enforce_strict_size=true
| [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 16.103 sec
| [junit] Tests FAILED
| [junit] Running org.jbpm.context.exe.HibernateCustomizationTest
| [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
| [junit] Test org.jbpm.context.exe.HibernateCustomizationTest FAILED
| [junitreport] [Fatal Error] TEST-org.jbpm.scheduler.exe.TimerDbTest.xml:85:24: XML
document structures must start and end within the same entity.
| [junitreport] The file
D:\jbpm-starters-kit-3.1.2\jbpm-db\build\hsqldb\testresults\xml\TEST-org.jbpm.scheduler.exe.TimerDbTest.xml
is not a valid XML document. It is possibly corrupted.
| [junitreport] Transform time: 4837ms
| BUILD SUCCESSFUL
| Total time: 2 minutes 29 seconds
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977325#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...