I’ve built a python script for batch processing sentinel2 products. It works fine except that memory consumption starts growing until it reaches the limit allowed to java and it stops working.
I’ve searched the forums and it seems this issue is not new. The only fix I’ve found is this:
However, I was wondering if there’re any further developments since this was discussed for the last time, around 2019.
Also, another user claims memory issues are related to GPF.createProduct. Is that correct?