Re: OutOfMemoryError while running test suite on Oracle 9i

From: Andriy Shapochka (ashapochk..otmail.com)
Date: Tue Mar 16 2004 - 14:52:13 EST

  • Next message: Mike Kienenberger: "Re: OutOfMemoryError while running test suite on Oracle 9i"

    I would suggest increasing the JVM memory heap, something like:

    java -Xms150m -Xmx150m

    For instance, running cayenne regression in a more or less intensive mode
    simply requires such a kind of heap adjustment.

    Andriy.

    ----- Original Message -----
    From: "Mike Kienenberger" <mkienen..laska.net>
    To: <cayenne-deve..bjectstyle.org>
    Sent: Tuesday, March 16, 2004 8:26 PM
    Subject: OutOfMemoryError while running test suite on Oracle 9i

    > Today, I had an Oracle schema set up for testing Cayenne, and I finally
    ran
    > the Cayenne tests on Oracle 9i.
    > I received an OutOfMemoryError on DataContextStoredProcTst (at least,
    that's
    > my assumption since
    > TEST-org.objectstyle.cayenne.access.DataContextStoredProcTst.xml is 0
    bytes
    > and was the last file listed).
    >
    > I've run the test suite on OpenBase many times in the past without any
    > issues, including immediately after the failure.
    >
    > This is running the tests from the cmd prompt under Windows 2000, and not
    > inside an IDE.
    >
    > %ant_home%/bin/ant test -Dcayenne.test.connection=oracle
    >
    > I'm using the ojdbc14_g.jar (jdk 1.4 debugging oracle) driver and 1.1M4
    with
    > my mods.
    >
    > Any ideas what I should do (or if I should bother) to track this down?
    >
    > -Mike
    >
    >
    > =============================
    > [java] [junit] CREATE SEQUENCE pk_painting_info START WITH 200
    > INCREMEN
    > T BY 20
    >
    > [java] BUILD FAILED
    > [java] java.lang.OutOfMemoryError
    >
    > [java] Total time: 20 minutes 49 seconds
    > [java] java.lang.OutOfMemoryError
    >
    > BUILD FAILED
    > file:E:/Programming/cayenne/build-tests.xml:70: Java returned: 1
    >
    > Total time: 21 minutes 19 seconds
    > =============================
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 16 2004 - 14:48:32 EST