marpet
July 21, 2017, 4:09pm
4
After processing and writing the product to disk you should call product.dispose(). This should release the memory.
You can also call explicitly the Java Garbage Collector.
Runtime = jpy.get_type(‘java.lang.Runtime’)
Runtime.getRuntime().gc()
But recently there was a general issue found with the S1 reader.
Hi all,
I have developed a Java web application which downloads the Sentinel-1 images and then applies a chain of SNAP operators to pre-process the data and to perform a change detection between two S1 images.
I am facing a Java memory leak problem (i.e. Java heap memory keeps growing without being release by the garbage collector) while the referred SNAP operators over time. I will try to further detail the problem…
I am using SNAP version 4.0.1 and S1tbx version 4.0.0 and I am importing the…
Maybe you have no chance to reduce the allocated memory at the moment.