On Tue, Apr 14, 2015 at 04:12:55PM -0400, Karl Wright wrote:
> Hi Kamil,
> 
> Without the bottom of the stack trace, I can't even tell what it is doing.
> Where are you supplying a regular expression?

It's all I have, the only regular expression is in 'Paths':
3. Exclude file(s) or directory(s) matching */.*

I found files (~500MB, logs) where solr logs ends, 
exclude them solves the problem. mcf use tika for extracting
and only /update to solr, these files causes problem befor,
when using solr for extract docs. Now mcf dies and I do not even know why.

K

> 
> Running out of memory might be a side effect of running out of stack.
> 
> Karl
> 
> 
> On Tue, Apr 14, 2015 at 2:49 PM, Kamil Żyta <[email protected]> wrote:
> 
> > Hi,
> > agent process exit with:
> >
> > agents process ran out of memory - shutting down
> > java.lang.OutOfMemoryError: Java heap space
> >         at java.util.Arrays.copyOfRange(Arrays.java:3664)
> >         at java.lang.String.<init>(String.java:201)
> >         at java.lang.StringBuilder.toString(StringBuilder.java:407)
> >         at
> > org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.buildSolrDocument(HttpPoster.java:987)
> >         at
> > org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:882)
> >
> > workers threads:
> >
> > FATAL 2015-04-14 18:59:11,172 (Worker thread '32') - Error tossed: null
> > java.lang.StackOverflowError
> >         at java.util.regex.Pattern$CharProperty.match(Pattern.java:3776)
> >         at java.util.regex.Pattern$Curly.match0(Pattern.java:4250)
> >         at java.util.regex.Pattern$Curly.match0(Pattern.java:4263)
> >         at java.util.regex.Pattern$Curly.match0(Pattern.java:4263)
> >         at java.util.regex.Pattern$Curly.match0(Pattern.java:4263)
> >         (...) ~1k lines
> >         at java.util.regex.Pattern$Curly.match0(Pattern.java:4263)
> >
> > no errors/warns in solr logs.
> >
> > it's bug or just corrupted file?
> >
> > K
> >

Reply via email to