NVEncoder API max support process count?

Hi,
We use NVEncoder API to accelerate the H.264 encoder speed. We use the nvenc_5.0.1_sdk. But we have process issue.If we only have one or two accelerate process it works well. But for more process, it will return failed.
Function CNvHWEncoder::Initialize in NvHWEncoder.cpp will return NV_ENC_ERR_OUT_OF_MEMORY error. Does NVEncoer API only support two instance?

Yes there are limits based on the GPU you are encoding on. I believe the limit is 2 for GeForce GPUs. If you google “nvenc sesssion limit” you will find many similar threads and information.