Panic double allocation

Getting error in log as “Panic Double allocation error”.I am using java agents .I can assume this error is because of memory releated. But not sure how to correct. I am getting this error in production. Can anyone help me regarding this.Thanks in advance.