In many otbcli processes (e.g. otbcli_DimensionalityReduction ) I get messages such as:
Estimated memory for full processing: 4473.96MB (avail.: 128 MB), optimal image partitioning: 35 blocks
I understand I can modify the 128 MB with the -ram option, but where does this 128 MB come from? Is it fixed or is it somehow calculated using information on the current free resources of the machine?
Looks like the RAM parameters only applies to the writer of the application, i.e. the object writing the output image… You can try to set the OTB_MAX_RAM_HINT environment variable, which should work for every processes in the application.