You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2010/10/15 18:34:33 UTC
[jira] Commented: (LUCENE-2705)
TestThreadSafety.testLazyLoadThreadSafety test failure
[ https://issues.apache.org/jira/browse/LUCENE-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921431#action_12921431 ]
Michael McCandless commented on LUCENE-2705:
--------------------------------------------
This test creates 100 threads at once, and does this 300 times... I think that's excessive... we should drop it to 10 threads at once. Maybe threads are heavier on FreeBSD.
I'll commit.
> TestThreadSafety.testLazyLoadThreadSafety test failure
> ------------------------------------------------------
>
> Key: LUCENE-2705
> URL: https://issues.apache.org/jira/browse/LUCENE-2705
> Project: Lucene - Java
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1, 4.0
> Environment: Hudson
> Reporter: Robert Muir
> Fix For: 3.1, 4.0
>
>
> TestThreadSafety.testLazyLoadThreadSafety failed with this error:
> unable to create new native thread
> Maybe because of SimpleText
> Here is the stacktrace:
> {noformat}
> [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> [junit] Testcase: testLazyLoadThreadSafety(org.apache.lucene.search.TestThreadSafe): Caused an ERROR
> [junit] unable to create new native thread
> [junit] java.lang.OutOfMemoryError: unable to create new native thread
> [junit] at java.lang.Thread.start0(Native Method)
> [junit] at java.lang.Thread.start(Thread.java:614)
> [junit] at org.apache.lucene.search.TestThreadSafe.doTest(TestThreadSafe.java:129)
> [junit] at org.apache.lucene.search.TestThreadSafe.testLazyLoadThreadSafety(TestThreadSafe.java:148)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.051 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestThreadSafe -Dtestmethod=testLazyLoadThreadSafety -Dtests.seed=-277698010445513699:-89599297372877779
> [junit] NOTE: test params are: codec=SimpleText, locale=zh_SG, timezone=Pacific/Tongatapu
> [junit] ------------- ---------------- ---------------
> [junit] TEST org.apache.lucene.search.TestThreadSafe FAILED
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org