I have used same mechanism with multiple server and deployment but never had any issue with memory. What application server are you using ?Can you try BusFactory.getDefaultBus().setProperty("set-jaxb-validation-event-handler", "false"); before setting context ?Yogesh