db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6675) testLeak running into java.lang.OutOfMemoryError
Date Fri, 25 Jul 2014 15:48:39 GMT
Mamta A. Satoor created DERBY-6675:
--------------------------------------

             Summary: testLeak running into java.lang.OutOfMemoryError
                 Key: DERBY-6675
                 URL: https://issues.apache.org/jira/browse/DERBY-6675
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.9.2.2
         Environment: Windows machine with IBM jdk 1.5
            Reporter: Mamta A. Satoor


testLeak failed on 10.9 codeline(revision 1611843). Details can be found at
http://people.apache.org/~myrnavl/derby_test_results/v10_9/windows/testlog/ibm15/1611843-derbyall_diff.txt

testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test)junit.framework.AssertionFailedError:
Process failed:Spawned DERBY-5730 exitCode=1
STDERR:
JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please
wait.
JVMDUMP032I JVM requested Snap dump using 'C:\jartest\JarResults.2014-07-18\ibm15_suites.All\Snap.20140718.224502.2880.0001.trc'
in response to an event
JVMDUMP010I Snap dump written to C:\jartest\JarResults.2014-07-18\ibm15_suites.All\Snap.20140718.224502.2880.0001.trc
JVMDUMP032I JVM requested Heap dump using 'C:\jartest\JarResults.2014-07-18\ibm15_suites.All\heapdump.20140718.224502.2880.0002.phd'
in response to an event
JVMDUMP010I Heap dump written to C:\jartest\JarResults.2014-07-18\ibm15_suites.All\heapdump.20140718.224502.2880.0002.phd
JVMDUMP032I JVM requested Java dump using 'C:\jartest\JarResults.2014-07-18\ibm15_suites.All\javacore.20140718.224502.2880.0003.txt'
in response to an event
JVMDUMP010I Java dump written to C:\jartest\JarResults.2014-07-18\ibm15_suites.All\javacore.20140718.224502.2880.0003.txt
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "main" java.sql.SQLException: Java exception: ': java.lang.OutOfMemoryError'.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeQuery(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.doGetCols(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getColumns(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.growDatabaseFootprint(Derby5730Test.java:163)
	at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.main(Derby5730Test.java:118)
Caused by: java.lang.OutOfMemoryError
	at org.apache.derby.iapi.types.SQLVarchar.cloneValue(Unknown Source)
	at org.apache.derby.impl.sql.execute.BasicSortObserver.getClone(Unknown Source)
	at org.apache.derby.impl.sql.execute.BasicSortObserver.insertNonDuplicateKey(Unknown Source)
	at org.apache.derby.impl.store.access.sort.SortBuffer.insert(Unknown Source)
	at org.apache.derby.impl.store.access.sort.MergeInserter.insert(Unknown Source)
	at org.apache.derby.impl.sql.execute.SortResultSet.loadSorter(Unknown Source)
	at org.apache.derby.impl.sql.execute.SortResultSet.openCore(Unknown Source)
	at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.open(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
	... 7 more

STDOUT:
VALUES ACOS(?)
VALUES ASIN(?)
VALUES ATAN(?)
VALUES ATAN2(?,?)
VALUES COS(?)
VALUES SIN(?)
VALUES TAN(?)
VALUES PI()
VALUES DEGREES(?)
VALUES RADIANS(?)
VALUES LN(?)
VALUES LOG(?)
VALUES LOG10(?)
VALUES EXP(?)
VALUES CEIL(?)
VALUES CEILING(?)
VALUES FLOOR(?)
VALUES SIGN(?)
VALUES RANDOM()
VALUES RAND(?)

	at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.testLeak(Derby5730Test.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message