Hi Marco, just providing some diagnostic info that I hope can help you solve the issue. In my experience, the problem occurs with GPF.createProduct()
. When using ProductIO.readProduct
and ProductIO.writeProduct
the memory issues do not appear provided you use the .dispose()
method on all products you read. After using product = GPF.createProduct()
the product.dispose()
method is ineffective - the memory is not released. So perhaps the problem has to do with using the dispose method on the products created using GPF. Hope it helps!