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

Robert Muir commented on LUCENE-3720:
-------------------------------------

Here's an initial test:
{noformat}
  public void testOOM2() throws Exception {
    String test = "200697900'-->&#1913348150;</  bceaeef 
>aadaabcf\"aedfbff<!--\'-->?>cae" +
        "cfaaa><?&#<!--</script>&lang&fc;aadeaf?>>&bdquo<    cc =\"abff\"    
/></   afe  >" +
        "<script><!-- f(';<    cf aefbeef = \"bfabadcf\" ebbfeedd = fccabeb >";
    TokenStream ts = analyzer.tokenStream("bogus", new StringReader(test));
    ts.reset();
    while (ts.incrementToken()) {
      ;
    }
    ts.end();
    ts.close();
  }
{noformat}

Ill see if i can make it blow up with a smaller string, and then port the test 
to just use commons-codec apis (not lucene ones).

                
> OOM in TestBeiderMorseFilter.testRandom
> ---------------------------------------
>
>                 Key: LUCENE-3720
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3720
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: modules/analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>
> This has been OOM'ing a lot... we should see why, its likely a real bug.
> ant test -Dtestcase=TestBeiderMorseFilter -Dtestmethod=testRandom 
> -Dtests.seed=2e18f456e714be89:310bba5e8404100d:-3bd11277c22f4591 
> -Dtests.multiplier=3 -Dargs="-Dfile.encoding=ISO8859-1"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to