You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Ole Solberg (JIRA)" <de...@db.apache.org> on 2006/02/11 01:28:26 UTC

[jira] Created: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

OutOfMemoryError: Java heap space in stress.multi
-------------------------------------------------

         Key: DERBY-956
         URL: http://issues.apache.org/jira/browse/DERBY-956
     Project: Derby
        Type: Bug
  Components: Regression Test Failure  
    Versions: 10.2.0.0    
 Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
    Reporter: Ole Solberg


Diff: 
*** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
3a4
> Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
6 del
< TEST CASE SUMMARY: normal termination
7 del
< ...running last checks via final.sql
7 add
> TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
Test Failed.
*** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***

First seen in
http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt


-- 
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


Re: [jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by Deepa Remesh <dr...@gmail.com>.
On 3/9/06, Mike Matrigali <mi...@sbcglobal.net> wrote:
> There are 2 possible areas.   The next logical step to me is to by hand
> backout the property changes myrna notes below to see if the problem
> reproduces or not with that change.

I think it is the change of 'database' to 'ij.database' which is
making this test fail in the encryption suite.  I have not yet
verified this but I see that mtTestCase has code to check specifically
for 'database' property in case of encryption tests.

            // this is a special case for the MultiTest.
            // check and alter url if there are any encryption related
            // properties that need to be set on the url
            if (("true").equalsIgnoreCase(p.getProperty("encryption")))
            {
               String encryptUrl = "dataEncryption=true;bootPassword=Thursday";
               String dbUrl = p.getProperty("database");


Sorry for the trouble.

Deepa

Re: [jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by Mike Matrigali <mi...@sbcglobal.net>.
There are 2 possible areas.   The next logical step to me is to by hand
backout the property changes myrna notes below to see if the problem
reproduces or not with that change.  There is also a change to ij code
itself, it looks like it should not be the issue but it is what I would
look at after trying the above:
java/tools/org/apache/derby/impl/tools/ij/mtTestCase.java


The change affects so many files it would seem better to narrow down
what broke the test, rather than backing out the whole change.  Also
I could of easily missed something else that might have affected it, I
just did a quick scan of the 6000 line diff.

Myrna van Lunteren wrote:
> On 3/9/06, *Rajesh Kartha (JIRA)* <derby-dev@db.apache.org 
> <ma...@db.apache.org>> wrote:
> 
>        [
>     http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369705
>     <http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369705>
>     ]
> 
>     Rajesh Kartha commented on DERBY-956:
>     -------------------------------------
> 
>     As Mike suggested, I synced up to the 369956 trunk version and tried
>     the test encryptionAll suite on the same Linux -  2.4.21-27.ELsmp
>     (with the
>     consistent OutOf Memory failures) with  the following scenarios.
> 
>     1) derby jars(10.2.0.0 <http://10.2.0.0> alpha - (369956)) and
>     derbyTesting.jar (369956) no exceptions
>     2) derby jars( 10.2.0.0 <http://10.2.0.0> alpha - (369956)) and
>     derbyTesting.jar (379197)  ** OutOfMemory exception **
>     3) derby jars (10.2.0.0 <http://10.2.0.0> alpha - (379197)) and
>     derbyTesting.jar (369956) no exceptions
>     4) derby jars ( 10.2.0.0 <http://10.2.0.0> alpha - (379197)) and
>     derbyTesting.jar (379197) ** OutOfMemory exception **
> 
>     The (379197)  is one of the  last week's jars, and from the
>     above  seems evident that the harness change ( after 369956 (370059
>     ?) )
>     is causing some sort of leak.
> 
>  
> Hi Rajesh,
>  
> I don't think datasources per se are related? I think maybe the changes to
> M 
> java\testing\org\apache\derbyTesting\functionTests\multi\stress\init.properties
> M 
> java\testing\org\apache\derbyTesting\functionTests\multi\stress\run.properties
>  
> were related - is that what you mean?
>  
> Myrna
> 
>     We need more investigation to look into what effect the usage of
>     datasources is having on this test.
> 
>     I am glad we are closing in on the real issue.
> 
>      > OutOfMemoryError: Java heap space in stress.multi
>      > -------------------------------------------------
>      >
>      >          Key: DERBY-956
>      >          URL: http://issues.apache.org/jira/browse/DERBY-956
>      >      Project: Derby
>      >         Type: Bug
>      >   Components: Regression Test Failure
>      >     Versions: 10.2.0.0 <http://10.2.0.0>
>      >  Environment: Red Hat Enterprise Linux AS release 3 (Taroon
>     Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004
>     GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
>      > Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun
>     Microsystems Inc. 1.5.0_04
>      > Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun
>     Microsystems Inc. 1.5.0_03
>      > Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11,
>     JVM: Sun Microsystems Inc. 1.5.0_03
>      >     Reporter: Ole Solberg
>      >     Priority: Blocker
>      >  Attachments: 370061.zip, 377554.zip
>      >
>      > Diff:
>      > *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09
>     23:37:11 ***
>      > 3a4
>      > > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java
>     heap space
>      > 6 del
>      > < TEST CASE SUMMARY: normal termination
>      > 7 del
>      > < ...running last checks via final.sql
>      > 7 add
>      > > TEST CASE SUMMARY: abnormal termination due to error(s) -- see
>     test log (./stress/stress.log) for details
>      > Test Failed.
>      > *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09
>     23:41:28 ***
>      > First seen in
>      >
>     http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt
>     <http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt>
> 
>     --
>     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
>     <http://issues.apache.org/jira/secure/Administrators.jspa>
>     -
>     For more information on JIRA, see:
>       http://www.atlassian.com/software/jira
> 
> 


Re: [jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by Myrna van Lunteren <m....@gmail.com>.
On 3/9/06, Rajesh Kartha (JIRA) <de...@db.apache.org> wrote:
>
>    [
> http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369705]
>
> Rajesh Kartha commented on DERBY-956:
> -------------------------------------
>
> As Mike suggested, I synced up to the 369956 trunk version and tried the
> test encryptionAll suite on the same Linux -  2.4.21-27.ELsmp (with the
> consistent OutOf Memory failures) with  the following scenarios.
>
> 1) derby jars(10.2.0.0 alpha - (369956)) and derbyTesting.jar (369956) no
> exceptions
> 2) derby jars(10.2.0.0 alpha - (369956)) and derbyTesting.jar (379197)  **
> OutOfMemory exception **
> 3) derby jars (10.2.0.0 alpha - (379197)) and derbyTesting.jar (369956) no
> exceptions
> 4) derby jars (10.2.0.0 alpha - (379197)) and derbyTesting.jar (379197) **
> OutOfMemory exception **
>
> The (379197)  is one of the  last week's jars, and from the above  seems
> evident that the harness change ( after 369956 (370059 ?) )
> is causing some sort of leak.


 Hi Rajesh,

I don't think datasources per se are related? I think maybe the changes to
M
java\testing\org\apache\derbyTesting\functionTests\multi\stress\init.properties
M
java\testing\org\apache\derbyTesting\functionTests\multi\stress\run.properties

were related - is that what you mean?

Myrna

We need more investigation to look into what effect the usage of datasources
> is having on this test.
>
> I am glad we are closing in on the real issue.
>
> > OutOfMemoryError: Java heap space in stress.multi
> > -------------------------------------------------
> >
> >          Key: DERBY-956
> >          URL: http://issues.apache.org/jira/browse/DERBY-956
> >      Project: Derby
> >         Type: Bug
> >   Components: Regression Test Failure
> >     Versions: 10.2.0.0
> >  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) -
> Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM:
> Sun Microsystems Inc. 1.5.0_03
> > Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun
> Microsystems Inc. 1.5.0_04
> > Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun
> Microsystems Inc. 1.5.0_03
> > Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM:
> Sun Microsystems Inc. 1.5.0_03
> >     Reporter: Ole Solberg
> >     Priority: Blocker
> >  Attachments: 370061.zip, 377554.zip
> >
> > Diff:
> > *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> > 3a4
> > > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap
> space
> > 6 del
> > < TEST CASE SUMMARY: normal termination
> > 7 del
> > < ...running last checks via final.sql
> > 7 add
> > > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test
> log (./stress/stress.log) for details
> > Test Failed.
> > *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> > First seen in
> >
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt
>
> --
> 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
>
>

[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Rajesh Kartha (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369705 ] 

Rajesh Kartha commented on DERBY-956:
-------------------------------------

As Mike suggested, I synced up to the 369956 trunk version and tried the test encryptionAll suite on the same Linux -  2.4.21-27.ELsmp (with the 
consistent OutOf Memory failures) with  the following scenarios.

1) derby jars(10.2.0.0 alpha - (369956)) and derbyTesting.jar (369956) no exceptions
2) derby jars(10.2.0.0 alpha - (369956)) and derbyTesting.jar (379197)  ** OutOfMemory exception ** 
3) derby jars (10.2.0.0 alpha - (379197)) and derbyTesting.jar (369956) no exceptions
4) derby jars (10.2.0.0 alpha - (379197)) and derbyTesting.jar (379197) ** OutOfMemory exception ** 

The (379197)  is one of the  last week's jars, and from the above  seems evident that the harness change ( after 369956 (370059 ?) ) 
is causing some sort of leak.  

We need more investigation to look into what effect the usage of datasources is having on this test.   

I am glad we are closing in on the real issue.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369940 ] 

Deepa Remesh commented on DERBY-956:
------------------------------------

Thanks Andrew for verifying. I have also verified this test passes with the patch (in an environment where it fails without the patch).

I have not figured out from where the OutOfMemoryError comes from. Here is what I found so far. Before this patch, when stress.multi gets run as part of encryption suite, the encryption attributes were not getting added to the database URL. This was because mtTestCase.java looks for "database" property whereas I had changed the properties file to use "ij.database" instead. This was a routine thing I was doing to enable tests for j2me and never imagined it had this side-effect for the multi test till Mike tracked it down. 

So, the connect to the database fails and the output of running the sql files would be something like this:

--------------init.sql-----------------
ERROR 08001: No suitable driver
ij version 10.2
ij> drop function PADSTRING;
IJ ERROR: Unable to establish connection

The tester threads were not doing anything in this situation because they fail to get a connection itself. So we were not testing anything here. Now, it is more confuing how we can get an OutOfMemoryError in such situation. As Andrew suggested, I'll open a jira issue to track what is causing the memory error.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Closed: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Solberg closed DERBY-956.
-----------------------------


> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>                 Key: DERBY-956
>                 URL: https://issues.apache.org/jira/browse/DERBY-956
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.6
>         Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>            Reporter: Ole Solberg
>         Assigned To: Deepa Remesh
>            Priority: Blocker
>             Fix For: 10.2.1.6
>
>         Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369941 ] 

Andrew McIntyre commented on DERBY-956:
---------------------------------------

Committed patch to mtTestCase with revision 384946. Deepa, I'll leave it to you to file the followup JIRA. I'm leaving this open until we verify that it is fixed in the tinderbox run.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Updated: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]

Kathey Marsden updated DERBY-956:
---------------------------------

    Priority: Blocker  (was: Major)

I am changing this to Blocker.  

-  stress/multi showing OutOfMemoryError has traditionally been an indication of a serious leak memory leak in the product.
-  wisconsin.sql has been acting up recently and choosing an alternate plan is also typically memory related.

I think until the problem is understood, we should be very careful about what we let in the trunk.

Can stress/multi  be changed to use jvmFlags to reduce the heap to compare the 10.1 and 10.2 heap needed for this test ?



> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker

>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


Tinderbox is clean! (was Re: [jira] Resolved: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi)

Posted by "David W. Van Couvering" <Da...@Sun.COM>.
Great news, to hear the tinderbox is clean!  Congratulations to everyone 
working to get our regression tests cleaned up!

David

P.S. Now we can focus on getting zero failures on the nightly tests :)


Deepa Remesh (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]
>      
> Deepa Remesh resolved DERBY-956:
> --------------------------------
> 
>     Fix Version: 10.2.0.0
>      Resolution: Fixed
> 
> Thanks Andrew for committing this change. I checked the tinderbox run with this change and derbyall has run cleanly.
> 
> 
>>OutOfMemoryError: Java heap space in stress.multi
>>-------------------------------------------------
>>
>>         Key: DERBY-956
>>         URL: http://issues.apache.org/jira/browse/DERBY-956
>>     Project: Derby
>>        Type: Bug
>>  Components: Regression Test Failure
>>    Versions: 10.2.0.0
>> Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
>>Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
>>Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
>>Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>>    Reporter: Ole Solberg
>>    Assignee: Deepa Remesh
>>    Priority: Blocker
>>     Fix For: 10.2.0.0
>> Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>>
>>Diff: 
>>*** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
>>3a4
>>
>>>Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
>>
>>6 del
>>< TEST CASE SUMMARY: normal termination
>>7 del
>>< ...running last checks via final.sql
>>7 add
>>
>>>TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
>>
>>Test Failed.
>>*** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
>>First seen in
>>http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt
> 
> 

[jira] Resolved: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]
     
Deepa Remesh resolved DERBY-956:
--------------------------------

    Fix Version: 10.2.0.0
     Resolution: Fixed

Thanks Andrew for committing this change. I checked the tinderbox run with this change and derbyall has run cleanly.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>      Fix For: 10.2.0.0
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Rajesh Kartha (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12367988 ] 

Rajesh Kartha commented on DERBY-956:
-------------------------------------

I tried the encryptionAll suite multiple times  with latest v10.1 jars and this issue is not seen on any of the above OSes.  It is quite strange
why on specific systems this test fails for 10.2 therefore merits further investigation.

I agree with leaving this issue a Blocker till we have discussed a resolution.


> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Sunitha Kambhampati (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12366281 ] 

Sunitha Kambhampati commented on DERBY-956:
-------------------------------------------

Hi Ole, 

Where can I get the derby.log and other files from this testrun. Can you point me to them or upload them to jira. I would like to take a look.  

Thanks. 
Sunitha.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg

>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Assigned: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]

Deepa Remesh reassigned DERBY-956:
----------------------------------

    Assign To: Deepa Remesh

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369942 ] 

Daniel John Debrunner commented on DERBY-956:
---------------------------------------------

I've seen this failure continually with windows and ibm142 and with the patch the test passes.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Updated: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]

Ole Solberg updated DERBY-956:
------------------------------

    Attachment: 377554.zip

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Sunitha Kambhampati (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369354 ] 

Sunitha Kambhampati commented on DERBY-956:
-------------------------------------------

This test failed in one of the nighlty runs (2006/03/06) on platform 
OS name:         Linux
OS architecture: i386
OS version:      2.6.5-7.201-bigsmp
Java Version:    1.5.0_06
Java Vendor:     Sun Microsystems Inc.
insane jars with version10.2.0.0 alpha - (383748)
diff: 
3a4
> Exception in thread "Thread-8" java.lang.OutOfMemoryError: Java heap space



> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Updated: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]

Deepa Remesh updated DERBY-956:
-------------------------------

    Attachment: derby-956-draft1.diff

Attaching a patch 'derby-956-draft1.diff' which I think will resolve the test failure. Attaching as draft (not to be committed) since this still needs to be tested on linux or other platform where this failure was seen.

Patch changes mtTestCase.java to use the url in "ij.database" property instead of "database" property. This way the test can continue to work in j2me environment too.

I have run derbyall with this patch on Windows with Sun JDK 1.4.2. No failures other than lang/wisconsin.java. I am testing it out on a linux machine but I am facing some other setup problem which I need to solve. I would appreciate if anyone who has an environment where this test fails can try this patch to see if it solves the issue.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Updated: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-956?page=all ]

Ole Solberg updated DERBY-956:
------------------------------

    Attachment: 370061.zip

Hi Sunitha,

This is the zip from the first(?) occurence of the failure.
(http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/Limited/testSummary-370061.html)

I will also attache a newer one.


-- Ole


> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Rajesh Kartha (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12367402 ] 

Rajesh Kartha commented on DERBY-956:
-------------------------------------

I am starting to think if this failure is caused due to some kernel issue.  I used one of the recent builds 10.2.0.0 alpha - (379197) to investigate this failure.

But any number of runs on:

   - Linux  2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux
    (with JVMs ibm142, ibm15, jdk142  and jdk15 (build 1.5.0_06-b05) )

   - SunOS 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-4 Solaris and jdk 15 (build 1.5.0_06-b05)

did not yield the OutofMemory exception for this test.

On the contrary,  with the following Linux:

Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux
(This seems to be the same version,  where the failure was initially observed)

for all the same JVMs mentioned above the test fails with OOM  exception each and every time it is run.

The kernel version in the latter  is  an older one and does seem to be the issue (since the JVMs used are the same). 

Having said that, if someone else can also confirm the above, we can downgrade this issue from being a Blocker.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12369931 ] 

Andrew McIntyre commented on DERBY-956:
---------------------------------------

Hi Deepa, I got access to an environment where this is failing. (Thanks Rajesh!) 

The patch does indeed solve the problem, and unless anyone objects, I'm planning on committing it, although it would be nice if someone else with an environment where this is failing could confirm it as well. But I'm left wondering why this made such a difference, and why only in certain environments. We should probably file a JIRA to followup on that.

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Assignee: Deepa Remesh
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip, derby-956-draft1.diff
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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


[jira] Commented: (DERBY-956) OutOfMemoryError: Java heap space in stress.multi

Posted by "Sunitha Kambhampati (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-956?page=comments#action_12366395 ] 

Sunitha Kambhampati commented on DERBY-956:
-------------------------------------------

Thanks Ole for posting the files. 

I looked at the 377554.zip and stress.multi didnt fail as part of derbyall run but it failed as part of the individual encryption suite run. 

When I look further into the encryption suite directory (.\encryption\encryption\multi\stress\), I usually check the derby.log to see what errors are .. but I see that the derby.log is empty. 

Anyone know what could be happening ?  Thanks. 

> OutOfMemoryError: Java heap space in stress.multi
> -------------------------------------------------
>
>          Key: DERBY-956
>          URL: http://issues.apache.org/jira/browse/DERBY-956
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) - Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 GNU/Linux, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_04
> Solaris 10 3/05 s10_74L2a SPARC - SunOS 5.10 Generic, JVM: Sun Microsystems Inc. 1.5.0_03
> Solaris 9 9/04 s9s_u7wos_09 SPARC - SunOS 5.9 Generic_118558-11, JVM: Sun Microsystems Inc. 1.5.0_03
>     Reporter: Ole Solberg
>     Priority: Blocker
>  Attachments: 370061.zip, 377554.zip
>
> Diff: 
> *** Start: stress jdk1.5.0_03 encryption:multi 2006-02-09 23:37:11 ***
> 3a4
> > Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
> 6 del
> < TEST CASE SUMMARY: normal termination
> 7 del
> < ...running last checks via final.sql
> 7 add
> > TEST CASE SUMMARY: abnormal termination due to error(s) -- see test log (./stress/stress.log) for details 
> Test Failed.
> *** End:   stress jdk1.5.0_03 encryption:multi 2006-02-09 23:41:28 ***
> First seen in
> http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/370061-encryption_diff.txt

-- 
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