And here is the same Java optimization flag for Mac Os X in a script. I have no idea how to push out a setting like this on a company that has Mac and Lotus Notes.
This script has not been tested by me! Thanks to Skellefteå for providing this script.
grep -iq “vmarg.xmx” $FILE
if [ $? -eq 0 ]; then
sed -i “” “s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g” $FILE
echo “vmarg.Xmx=-Xmx768m” >> $FILE