JAXBContextImpl causing huge retained heap

时间:2016-08-31 16:50:04

标签: java xml spring jaxb cxf

Our code is creating multiple instances of com.sun.xml.bind.v2.runtime.JAXBContextImpl which is causing huge retained heap. This in turn chokes the server. We are using JAXB 2.2.1 with CXF and Spring and deal with very complex hrxml schemas. Has anyone else faced this ? It is not a memory leak just that 32 instances occupy 603 MB.

0 个答案:

没有答案