lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Veit (JIRA)" <>
Subject [jira] [Created] (LUCENE-6079) PatternReplaceCharFilter crashes JVM with OutOfMemoryError
Date Thu, 27 Nov 2014 13:10:12 GMT
Alexander Veit created LUCENE-6079:

             Summary: PatternReplaceCharFilter crashes JVM with OutOfMemoryError
                 Key: LUCENE-6079
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/analysis
    Affects Versions: 4.10.2
         Environment: Microsoft Windows, x86_64, 32 GB main memory
            Reporter: Alexander Veit
            Priority: Critical

PatternReplaceCharFilter fills memory with input data until an OutOfMemoryError is thrown.

java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(
	at java.lang.AbstractStringBuilder.expandCapacity(
	at java.lang.AbstractStringBuilder.ensureCapacityInternal(
	at java.lang.AbstractStringBuilder.append(
	at java.lang.StringBuilder.append(
	at org.apache.lucene.analysis.pattern.PatternReplaceCharFilter.fill(

PatternReplaceCharFilter should read data chunk-wise and pass the transformed output chunk-wise
to the caller.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message