# le\_avdataPush Buffer Size

**URL:** <https://forum.legato.io/t/le-avdatapush-buffer-size/3186>\
**Category:** Legato Application Framework\
**Created:** [April 3, 2018, 10:08am UTC](https://forum.legato.io/t/le-avdatapush-buffer-size/3186 "2018-04-03T10:08:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![idiaz](https://avatars.discourse-cdn.com/v4/letter/i/9fc29f/32.png) [@idiaz](https://forum.legato.io/u/idiaz)\
**Post date:** [April 3, 2018, 10:08am UTC](https://forum.legato.io/t/le-avdatapush-buffer-size/3186/1 "2018-04-03T10:08:06Z")

</div>

Hi all,

doing some data tests I found this problem when I have my apps conected to airvantage (lwm2m):

_**Apr 3 09:58:41 | =ERR= | avcDaemon[16615]/avcDaemon T=main | timeseriesData.c EncodeResourceDeltaValue() 760 | CBOR encoding error out of memory/need more memory**_  
_**Apr 3 09:58:41 | =ERR= | avcDaemon[16615]/avcDaemon T=main | timeseriesData.c EncodeResourceDefaultValue() 689 | CBOR encoding error out of memory/need more memory**_  
_**Apr 3 09:58:41 | =ERR= | avcDaemon[16615]/avcDaemon T=main | timeseriesData.c EncodeResourceDataToCborArray() 848 | CBOR encoding error out of memory/need more memory**_  
_**Apr 3 09:58:41 | =ERR= | myApp[25272]/avPublisherComponent T=main | avPublisher.c SetIntegerRecord() 538 | Couldn’t record integervariable reading - LE\_NO\_MEMORY**_

Maybe I need put too much data on air, but, in order to get the maximum performance:

what is the buffer/memory of the record function?  
what is the queue size of the push function?

is there any way to add more memory ??

Thanks in advance

---

<div class="post-metadata">

**Author:** ![JordanZhao](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jordanzhao/32/789_2.png) [@JordanZhao](https://forum.legato.io/u/JordanZhao)\
**Post date:** [April 20, 2018, 8:08am UTC](https://forum.legato.io/t/le-avdatapush-buffer-size/3186/2 "2018-04-20T08:08:58Z")

</div>

Is your App enabled sandbox?  
If yes, please see Sandboxed App Limits from: [http://legato.io/legato-docs/latest/howToSecuritySandboxLimits.html](http://legato.io/legato-docs/latest/howToSecuritySandboxLimits.html).
