Hi,
When I call 'http_put' or 'http_post' in my SQL script, I found that the memory consumption of the corresponding PG backend process was growing rapidly (about 2M per seond).
I did a little investigation in http.c...
it seems that in the end of function 'http_request()', when we are constructing the http_response tuple, the memory allocated by CStringGetTextDatum() / header_string_to_array() / cstring_to_text_with_len() was not released immediately.
is there a way to prevent this memory leak?
thanks in advance..
Hi,
When I call 'http_put' or 'http_post' in my SQL script, I found that the memory consumption of the corresponding PG backend process was growing rapidly (about 2M per seond).
I did a little investigation in http.c...
it seems that in the end of function 'http_request()', when we are constructing the http_response tuple, the memory allocated by CStringGetTextDatum() / header_string_to_array() / cstring_to_text_with_len() was not released immediately.
is there a way to prevent this memory leak?
thanks in advance..