Too many files open

How to solve the exception of Too many files open in elasticsearch using java.
Please help.