[ 
https://issues.apache.org/jira/browse/DERBY-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105485#comment-14105485
 ] 

ASF subversion and git services commented on DERBY-6708:
--------------------------------------------------------

Commit 1619456 from [~dagw] in branch 'code/trunk'
[ https://svn.apache.org/r1619456 ]

DERBY-6708 OOME when running ConstraintCharacteristicsTest with smaller heap

Patch derby-6708. Reduces the number of rows of the fixture
testManySimilarDuplicates from 40K to 4K. Removes the use of
in-memory database for all fixtures that use it.  In my setup (Ubuntu
12.04 64 bits, JDK 8u20) the test now runs fine with -Xmx128M, in ca.
70 seconds with "derby.system.durability=test".

> OOME when running ConstraintCharacteristicsTest with smaller heap
> -----------------------------------------------------------------
>
>                 Key: DERBY-6708
>                 URL: https://issues.apache.org/jira/browse/DERBY-6708
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Dag H. Wanvik
>             Fix For: 10.12.0.0
>
>         Attachments: derby-6708.diff
>
>
> When I ran suites.All on a device with little memory, so that I needed to 
> reduce the heap (-Xmx160M), it stopped and failed with an OOME when it came 
> to ConstraintCharacteristicsTest.
> That test uses a memory database in order to speed it up. One of the test 
> cases (testManySimilarDuplicates) has such a big data set that the database 
> doesn't fit in the heap. It would be good if we could reduce the memory 
> requirements of the test so that it passes on smaller devices to. 
> Alternatively, we could add a switch that makes it easy to disable test cases 
> that are known to have high memory requirements.



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

Reply via email to