Sen4CAP 3.0 - Error message L2-S1 Pre-Processing

Hi,

During pre-processing a get the following error. In one of the previous posts a reference was made to the available memory as a possible cause for this error (see message below from the l1_tile_history). I am using a VM with 128 GB of memory and plenty of storage.

Flavor Name hm.2xlarge
Flavor ID 26
RAM 128GB
VCPUs 16 VCPU
Disk 384GB (extended to & TB)

How to solve this particular issue?

Best regards,
Marcel

2022-04-20 12:05:13[SEVERE] Error executing step 2 (Coregistration) [codes=[137, 137, 137]];;2022-04-20 12:05:15[WARNING] Callback for product SEN4CAP_L2A_S1_V20190308T171559_20190314T171653_VH_015_COHE failed. Reason: java.lang.NullPointerException
at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)
at sun.nio.fs.UnixPath.(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.nio.file.Paths.get(Paths.java:84)
at org.esa.sen4cap.preprocessing.Sentinel1Level2Worker.createProducts(Sentinel1Level2Worker.java:492)
at org.esa.sen4cap.preprocessing.Sentinel1L2ProcessorV1.processProductPair(Sentinel1L2ProcessorV1.java:261)
at org.esa.sen4cap.preprocessing.Sentinel1L2ProcessorV1.processAcquisition(Sentinel1L2ProcessorV1.java:169)
at org.esa.sen4cap.scheduling.Sentinel1Level2Job.lambda$processSite$0(Sentinel1Level2Job.java:315)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Hello Marcel,

The exit codes from the Coregistration step (137) indicate that Docker did not have enough memory (maybe something else was executing at the same time? Multiple MAJA instances for example?). Do you constantly get this error?
Regardless, one thing you can do is to set the parameter “processor.l2s1.parallel.steps.enabled” to ‘false’. This will make the substeps to sequentially execute (as opposed in parallel by default), hence less memory needed.

Hope this helps,
Cosmin

Thank you Cosmin! Unfortunately it didn’t solve the problem. I’ve had similar issues with both version 2.0 and version 3.0. So the search continues.