I am using a simple Communication.webRequest() to a REST-server to retrieve a json. Unfortunately the server response is relatively large.
So I get the -402 (Serialized response was too large) and -403 (Ran out of memory processing network response) errors from time to time.
I have observed, that after the -402 error, the memory goes back to where it was before, but when getting the -403 error, the memory goes up >2Kb every time. So it looks to me as if the memory does not get released properly when the internal json->dict conversion fails.