Issue when MatchPhasePrefix and Sort

When executing a search with MatchPhasePrefix on a Propety which is a large
string.
The search fails with error.
"Data too large, data for [Field] would be larger than limit of
[623326003/594.4mb]]
ElasticsearchException[java.lang.OutOfMemoryError: Java heap space]

need help

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f8f49c1c-b09b-4576-8b19-e786ec7727b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hmmm.... why would a field that large? at 594mb?

Jason

On Fri, Apr 24, 2015 at 2:11 AM, TB txindfun@gmail.com wrote:

When executing a search with MatchPhasePrefix on a Propety which is a large
string.
The search fails with error.
"Data too large, data for [Field] would be larger than limit of
[623326003/594.4mb]]
ElasticsearchException[java.lang.OutOfMemoryError: Java heap space]

need help

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f8f49c1c-b09b-4576-8b19-e786ec7727b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHO4ityqKPnaTNg90Dm2hvA%2BAC6UcJhhxyJHe4Asa12Wvt2S-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

The field is not of 594 MB, could this be related to where the JVM does not
have enough memory allocated?
I have set "mlock_all: true" in the config..
I have not the ulimit or changes the ES_MIN and ES_MAX variables, could
this be related to that?

On Thursday, April 23, 2015 at 8:16:33 PM UTC-5, Jason Wee wrote:

Hmmm.... why would a field that large? at 594mb?

Jason

On Fri, Apr 24, 2015 at 2:11 AM, TB <txin...@gmail.com <javascript:>>
wrote:

When executing a search with MatchPhasePrefix on a Propety which is a
large
string.
The search fails with error.
"Data too large, data for [Field] would be larger than limit of
[623326003/594.4mb]]
ElasticsearchException[java.lang.OutOfMemoryError: Java heap space]

need help

--
You received this message because you are subscribed to the Google
Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/elasticsearch/f8f49c1c-b09b-4576-8b19-e786ec7727b6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c08fb292-d4ec-4348-9173-77eab3f547bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

See

Basically ES is protecting you against potential OOM killers.

On 25 April 2015 at 01:27, TB txindfun@gmail.com wrote:

The field is not of 594 MB, could this be related to where the JVM does
not have enough memory allocated?
I have set "mlock_all: true" in the config..
I have not the ulimit or changes the ES_MIN and ES_MAX variables, could
this be related to that?

On Thursday, April 23, 2015 at 8:16:33 PM UTC-5, Jason Wee wrote:

Hmmm.... why would a field that large? at 594mb?

Jason

On Fri, Apr 24, 2015 at 2:11 AM, TB txin...@gmail.com wrote:

When executing a search with MatchPhasePrefix on a Propety which is a
large
string.
The search fails with error.
"Data too large, data for [Field] would be larger than limit of
[623326003/594.4mb]]
ElasticsearchException[java.lang.OutOfMemoryError: Java heap space]

need help

--
You received this message because you are subscribed to the Google
Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/elasticsearch/f8f49c1c-b09b-4576-8b19-e786ec7727b6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c08fb292-d4ec-4348-9173-77eab3f547bd%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c08fb292-d4ec-4348-9173-77eab3f547bd%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_ogpDpNq5ANixeC67YTa39hGAdPpVEtZKZgXbsLFGAnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.