I am receiving a 'GC overhead limit exceeded' error when running gradle mlExportBatchesToDirectory.
The gradle command is:
gradle mlExportBatchesToDirectory -PexportPath=/qa2/tgtfiles/Customer -PbatchSize=25000 -Ptransform=CustomerTransform,querydate1,"$querydate1" -PfilenamePrefix="Customer_Daily_$(date "+%Y%m%d")_" -PfilenameExtension=.json -PwhereUrisQuery='cts.andQuery([cts.collectionQuery("latest"),cts.orQuery([cts.andQuery([cts.collectionQuery("customer"),cts.jsonPropertyScopeQuery("PolicyDownloadInfo", cts.trueQuery())]),cts.collectionQuery("customerpreference"),cts.collectionQuery("registrationcontacts")]),cts.notQuery(cts.jsonPropertyValueQuery("PartyId", "defaultprimary")),cts.notQuery(cts.jsonPropertyValueQuery("PartyId", "defaultadditional"))])' -PenvironmentName=qa
Even if I reduce the batch sizes down to 50, the error still occurs.