my product has 256 mb of ram. have upgrade java 6 java 8. started facing memory related issue java 8. memory consumption incresing time java 8 same code, memory consumption stable java 6 have explored regarding metaspace,java8 , found below metaspace parameters.
i have tried below combinations , got out of memory error
1.maxmetaspacesize 50m maxmetaspacefreeratio 60m minmetaspacefreeratio 50m
2.maxmetaspacesize 30m
3.maxmetaspacesize 40m
4.maxmetaspacesize 50m
5.maxmetaspacesize 80m
but after 2 3 hours ,outofmemory metaspace error raised.
can explain metaspace options maxmetaspacesize,maxmetaspacefreeratio ,minmetaspacefreeratio are?
how decide right size is? correct combination of these values avoid outofmemory instance in production , reduce memory consumption ?
the issue resolved. found there known issue jaxb.
refer link
Comments
Post a Comment