1 Reply Latest reply on Jun 25, 2013 9:12 PM by jasonrc
      • 1. Re: HTTPS vs HTTP memory usage
        Using the https_client application with FreeRTOS-LwIP, see the following results:

         

         

           

        1. Using HTTP+TLS and printf required 5200 bytes of stack space
        2.  

        3. Using HTTP+TLS without printf() required 4056 bytes of stack space
        4.  

        5. Using HTTP only required 2088 bytes of stack space
        6.  

          [*]

           

         

         

        The cost of adding TLS to a HTTP connection of a simple application is an extra 1968 of stack space and temporarily 5428 bytes of heap space.
        • 2. Re: HTTPS vs HTTP memory usage
          Here is some additional http/https info about stack usage with/without printf usage.

           

           

          ThreadX-NetX_Duo

           

          http without prints uses: 2103 bytes

           

          https without prints uses: 4375 bytes

           

          https with prints uses: 5519 bytes

           

           

          FreeRTOS-LwIP

           

          http without prints uses: 2088 bytes

           

          https without prints uses: 4056 bytes

           

          https with prints uses: 5200 bytes