LWM2M Carrier Size Change

Hello, I have an application running on an nRF9160. The current app was built using NCS 1.7.0 with the L2M2M Carrier Library enabled. I'm upgrading the application to use NCS 2.4.2 and now my application's RAM usage is 8k larger than before. I haven't changed anything else about my app except for making the necessary migrations from 1.x.x to 2.x.x. Is it known that the new LWM2M Carrier library is larger than it used to be? Or is there some way I can configure down its size?

Parents Reply
  • Hi,

    esisk said:
    Would it be ill-advised to reduce the size of CONFIG_LWM2M_CARRIER_WORKQ_STACK_SIZE from 4096 to 2048?

    You could try to change stack size in your application. It is advisable that you test your application thoroughly after the change. Reducing stack sizes too much might lead to stack overflow errors. 

    Best regards,
    Dejan

Children
Related