I got "command not allowed when used memory > 'maxmemory'. error with my workflow

I got command not allowed when used memory > ā€˜maxmemory’ error when inferece my workflow and also can’t create dedicated deployment with just ā€œinternal errorā€

My inference code is below. and detect.roboflow.com endpoint works well (v1) but serverless.roboflow.com endpoint does not work

async def _execute_inference_with_retry(self, pil_img: Image.Image) -> list[dict]:
        async for attempt in self._retry_strategy:
            with attempt:
                return await asyncio.to_thread(
                    self._client.run_workflow,
                    workspace_name="semohae",
                    workflow_id="custom-workflow",
                    images={"image": pil_img},
                    use_cache=True,
                )

Hi @juho_Park,
Sorry for the troubles. The Serverless v2 API had some temporary issues that have been resolved now. Could you please try again and let me know if it’s working for you now?

Balthasar

Hi balthasar.

Now API works well.

Thank you for your fast response.
Best regards

2025ė…„ 7ģ›” 21ģ¼ (ģ›”) ģ˜¤ķ›„ 7:07, Balthasar Huber via Roboflow <notifications@roboflow1.discoursemail.com>ė‹˜ģ“ ģž‘ģ„±:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.