It was measured to peak at 308kb of RAM use (via the massif tool).
Of that, 84% were taken by curl and OpenSSL. If one needed to drop RAM use further, curl should be compiled without ares (asynchronous DNS) and with a lighter SSL library (or no SSL, alternatively).