EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ca client get waveform pv error
From: wantianmin <[email protected]>
To: Mark Rivers <[email protected]>, [email protected]
Date: Fri, 10 Sep 2010 12:25:35 +0800

I am not sure how CA allocates memory, but you have set a REALLY big value for EPICS_CA_MAX_ARRAY_BYTES (1.6GB). Perhaps you should try setting it to be just a little bigger than the largest image you will use. Is your data 8-bit? If so then 400000 is big enough for the 640x480 array you mentioned.

Mark


________________________________


From: [email protected] on behalf of wantianmin
Sent: Thu 9/9/2010 10:26 PM
To: [email protected]
Subject: Fwd: Re: ca client get waveform pv error

Hi,Mark:
When I change EPICS_CA_MAX_ARRY_BYTES to 400000 as your suggestion, the clients works ok,
It seems that I set the environment variable too large, and the client can not allocate so much memory.
thanks for your help,and I found if I set the variable to 1600000000,the IOC will consume 1.6G memory
too,I find it perviously but I didn't know it is because I set the variable too large,
Thanks ,my problem solved, ^_^
Best Regards
wantianmin

References:
Fwd: Re: ca client get waveform pv error wantianmin
RE: Re: ca client get waveform pv error Mark Rivers

Navigate by Date:
Prev: Re: ca client get waveform pv error wantianmin
Next: jobs at NSTX Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Re: ca client get waveform pv error Mark Rivers
Next: jobs at NSTX Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·