I have observed memory leak in application while converting from word to pdf. In the following link https://gist.github.com/rebizant/5655622 I attached sample code and also example doc file.When I ran the example code, after about 500 iterations , outOfMemoryError have been threw (-Xmx1024m, jdk_1.7.0_021, Aspose.Words.jdk16 version 188.8.131.52).
It is important for applications to call this method when they know they will no longer be using this
ImageReader (or subclass). Otherwise, the reader may continue to hold on to resources indefinitely.
The default implementation of this method in the superclass does nothing. Subclass implementations should ensure that all resources, especially native resources, are released.”