Bumping this with some more investigating.
I bumped my VM up to 8GB and also bumped up the
java_max_mem property in snappy.ini to 8G
I’m processing some S1 imagery and subsetting it to
POLYGON ((-4.136685132980347 50.36611236042063, -4.12860631942749 50.36611236042063, -4.12860631942749 50.37036895441764, -4.136685132980347 50.37036895441764, -4.136685132980347 50.36611236042063)) so its very small in terms of a S1 image.
Running the process once I get python hogging 16% of the VMs memory, making several calls it always idled at more memory:
16%, 28%, 42%, 52%, 81%, 81%, 95%, 95%, 90%, crashed.
I’m assuming this is to do with the Java side because memory just isn’t being freed. I’m removing all files in /tmp every time I run the process too so. Is there anyway to stop this continuous buildup of memory till eventual crashing?