I have file containing 1100 variables. Example,
LOGPATH=/some/path
VARIABLE2=someVALUE
while running source /path/to/file.properties
Only the first set number of variables are being loaded. Is there a environment property that defines how many variables can be loaded.
getconf ARG_MAX gives 2097152
++ SERVICE_DATA=/some/path/data
++ AUTO_FETCH_LIMIT=25000
echo $AUTO_FETCH_LIMIT
echo $SERVICE_DATA
/some/path/data
echo $AUTO_FETCH_LIMIT | wc
1 0 1
set -xand examine the output++ LOGDIR=/some/pathbut echo $LOGDIR still shows no results. Any variables after a specific line is not loaded. If i toggle the positions, the previously missing values are loaded, but the bottom ones are not.declare -p varNamefor debug, notecho.sourcecomand isn't for loading variables; it's for script execution. The contents of the file are executed; if it contains nothing but assignments, then it loads variables.