I have several background tasks running on my Glassfish server implemented by @TimerService instances. The goal of these services is to extract data from files
You might be dealing with a class loader leak. JAXB can do this when you're unmarshalling. To find out for sure you should use a memory analyzer. I highly recommend using the Eclipse Memory Analyzer Tool. Just follow a few of the tutorials and you should be able to get it figured out.