Elasticsearch-net: Memory leak in FieldResolver

Created on 19 Apr 2016  路  5Comments  路  Source: elastic/elasticsearch-net

NEST 2.0+:

If Nest.Field was created by LambdaExpression then MemberExpression.GetHashcode() used as Hashcode for dictionary FieldResolver.Fields, but method GetHashcode has not overridden in MemberExpression and used Object.GetHashcode().

bug v2.3.1 v5.0.0-alpha2

Most helpful comment

:-1: us first for missing the issue when initially reported and second for introducing this in the first place :cry:

We will get this fixed today and put an update out on nuget.org

All 5 comments

+1, this is a critical issue for us

Aggreed - this one is sucking up alot of memory on our webservers.

+1, eating up gigs of memory

:-1: us first for missing the issue when initially reported and second for introducing this in the first place :cry:

We will get this fixed today and put an update out on nuget.org

Just pushed new versions of Elasticsearch.Net and NEST to nuget with a fix for this.

Thanks again for reporting :+1:

Was this page helpful?
0 / 5 - 0 ratings