Looking at DocumentMapper.java:271, it looks like it works this way on purpose

```java
         // reset the context to free up memory
        context.reset(null, null, null, null);
```