• Stefan Kaes's avatar
    Problem: enormous memory increase due to zero copy decoding · fcbd2a57
    Stefan Kaes authored
    The zero copy decoding strategy implemented for 4.2.0 can lead to a large
    increase of main memory usage in some cases (I have seen one program go up to
    40G from 10G after upgrading from 4.1.4). This commit adds a new option to
    contexts, called ZMQ_ZERO_COPY_RECV, which allows one to switch to the old
    decoding strategy.
    fcbd2a57
v2_decoder.cpp 5.79 KB