Thanks to Ryan, Bill, Richard for all the advice about stack and maximum command length. I think the relation to stack size is something I picked up from a Linux discussion. Apparently some versions of Linux work this way.
I have the longer user home prefix because my institutional network policy prevents all write access to /opt/anything. I will report this upstream to gdal, and see if they can segment their giant link commands, or something. One gdal user recently suggested the following, which seems viable (see near bottom of the message): https://github.com/OSGeo/gdal/issues/1429#issuecomment-481215759 On Fri, Nov 29, 2019 at 6:36 AM Richard L. Hamilton <[email protected]> wrote: > > With some OSs, ARG_MAX aka NCARGS is adjustable, with others it isn't. > macOS's is not necessarily the lowest with an apparently fixed limit, but > not exceptionally high either. >
