WorkflowWorker Error context deadline exceeded

Why when I create 1000 activities in a workflow, the activities cannot run and the following error is prompted: “WorkflowWorker Error context deadline exceeded.”
After my test, I found that when the input parameter is relatively small, there is no problem, but if the input parameter is too large, an error will be reported. How can I adjust it? Please help me。