I know I'm probably massively late on this, but I believe the best thing
that we could do would be to finally delete OC_LOG entirely, and have
OIC_LOG used instead by everything.  The duplication created by having 2
nearly-identical loggers is pretty difficult to maintain.

-Erich


On Mon, 2015-08-31 at 14:12 +0000, Koushik Girijala wrote:
> Hi,
> 
>  
> 
> Am Facing Memory consumption problems with OC logging for Arduino Mega
> device,
> 
>  
> 
> 1. Found out that OC_LOG  is occupying almost 3500 bytes of RAM
> because of which we are facing "Out of Memory issues" with latest
> master code built for Arduino MEGA with RELEASE=0.
> 
> 2. Tried disabling/Enabling probabilities for OC and OIC logs and
> found below observation
> 
> 
>      OC_LOG         OIC_LOG        RAM USED         RAM LEFT
> 
> 
> 1    Disabled        Disabled          4592                    4094 
> 
>  
> 
> 2    Disabled        Enabled          4592                    4094 
> 
>  
> 
> 3    Enabled        Enabled          7914                        772
> 
>  
> 
> 4    Enabled        Disabled          7914                        772
> 
>  
> 
> Found that OC log is occupying huge memory i.e almost 3500 bytes in
> Arduino Mega and OIC log is using very less RAM memory.
> 
> Could anyone help with suggestion to solve above problem with OC_LOG
> usage in RI layer.
> 
> Regards,
> Koushik
> 
>  
> 
>  
> 
> 
> 
> 
> 
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to