You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to transfer binary data, the memory usage went up to twice the data size during the transfer process,
but after void AMQPMessage::setMessage(const char * data,uint32_t length),
it continues to occupy the same amount of memory space as the data size.
I don't think I'm doing anything wrong, because the starting point of onMessage already uses twice the memory of the data size.
At the very least, I'd like the memory usage to decrease accordingly when the next message comes,
but for now, the high memory usage continues, keeping the size of the highest memory usage (currently the largest file).
How can I free this memory after sending?
The text was updated successfully, but these errors were encountered:
When I tried to transfer binary data, the memory usage went up to twice the data size during the transfer process,
but after
void AMQPMessage::setMessage(const char * data,uint32_t length),
it continues to occupy the same amount of memory space as the data size.
I don't think I'm doing anything wrong, because the starting point of
onMessage
already uses twice the memory of the data size.At the very least, I'd like the memory usage to decrease accordingly when the next message comes,
but for now, the high memory usage continues, keeping the size of the highest memory usage (currently the largest file).
How can I free this memory after sending?
The text was updated successfully, but these errors were encountered: