diff --git a/start_epics_xxx b/start_epics_xxx
index bfc9f3701d8e0c4eb3198db6fcbfef119d726cc3..7fd7088e845d2a78a8543d301bf07eadce515647 100755
--- a/start_epics_xxx
+++ b/start_epics_xxx
@@ -11,4 +11,8 @@ setenv MEDM_HELP_URL "http://www.aps.anl.gov/xfd/WWW/xfd/bcda/medm_help"
 #setenv EPICS_CA_ADDR_LIST "164.54.53.126"
 
 cd $EPICS_APP/xxxApp/op/adl
+# This should agree with the environment variable set by the ioc
+# see 'putenv "EPICS_CA_MAX_ARRAY_BYTES=64008"' in iocBoot/ioc<target>/st.cmd
+EPICS_CA_MAX_ARRAY_BYTES=64008
+
 medm xxx.adl&