the production environment elasticsearch has been down a lot recently, mainly for searching posts.
analyzed the stack file after the es memory leak and found that 1G of memory was applied for in netty, but I didn"t know much about es. The initial guess was that a single document was too large and crushed es when returning the search results.
these objects all have a 500Mbyte. This byte is the object to be returned, right?
the solution I think is to reduce the size of a single document