db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1564) wisconsin.sql test failed in DerbyNet framework, VM for network server got OutOfMemoryError
Date Mon, 31 Jul 2006 14:35:14 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1564?page=comments#action_12424552 ] 
John H. Embretsen commented on DERBY-1564:

Due to DERBY-1614 this test was most likely run with "too small" max heap size in the DerbyNet
and DerbyNetClient frameworks during snapshot testing.

This is indicated by the following process:

I used the following command to start the test:

$ java -Dverbose=true -Dframework=DerbyNet org.apache.derbyTesting.functionTests.harness.RunTest

With the snapshot jars (as well as SVN revision 420048 and later), "jmap -heap <NetworkServerControl's
vmid>" reveals that the max heap size is 32 MB. The heap flags set by the test harness
-ms32M -mx128M -ms16777216 -mx33554432

With SVN revision 420047 and earlier, jmap reports the maximum server heap size as 64 MB.
The test harness did not seem to set any heap size flags. However, according to wisconsin_app.properties,
the max heap size should be 128 MB. The jvmflags property from wisconsin_app.properties was
probably not used because of the bug described in DERBY-1091 (?). A patch for DERBY-1091 was
committed with SVN rev 420048. 64 MB is the default max heap size on my machine (with jdk

The conclusion is that prior to SVN rev 420048 this test was (as far as I can tell) run with
the default heap sizes of the test machine.
With SVN rev 420048 and later, this test has been run with a max heap size of 32 MB (server
JVM). The snapshot is SVN rev 423199.

I cannot (yet) tell for sure if this is the reason why the test failed on some platforms during
the snapshot testing. There are too many variables in play here....

> wisconsin.sql test failed in DerbyNet framework, VM for network server got OutOfMemoryError
> -------------------------------------------------------------------------------------------
>                 Key: DERBY-1564
>                 URL: http://issues.apache.org/jira/browse/DERBY-1564
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Test
>    Affects Versions:
>         Environment: Solaris Sparc, Java 6, running in a Solaris Zone. DerbyNet framework.
>            Reporter: Andreas Korneliussen
>         Attachments: wisconsin.tar.gz
> The wisconsin test failed when running it in DerbyNet framework. No output in the outfile.
The DerbyNet.err file has one message:
> Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space
> The test was run against snapshot release.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message