ibrahimyaacob
ibrahimyaacob3w ago

Hitting node action limit, Convex recommends using V8 actions ??

Im getting this error on trying to upload file that requires me to use node action. Then convex throw me this error.
Node actions arguments size is too large. The maximum size is 5 MiB. Reduce the size of the arguments or consider using V8 actions instead, which have a 16 MiB limit.
Node actions arguments size is too large. The maximum size is 5 MiB. Reduce the size of the arguments or consider using V8 actions instead, which have a 16 MiB limit.
There's no option for me to reduce the size. So what i V8 action ? How do i use it ?
2 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
RJ
RJ3w ago
I believe that means the Convex runtime (so the runtime an action would use without the "use node" directive). Maybe you could use the Convex runtime (that is, a V8 action) to store the file, and then kick off a node action which reads the file from storage and processes it in whatever way you'd like, and then deletes the original?

Did you find this page helpful?