Fix Memory Budget Exceeded #778
Answered
by
antonmedv
rdaniel1105
asked this question in
Q&A
-
I am passing down a long list and then iterating through it to create a new array, however I am encountering the "memory budget exceeded" is there a way to fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
antonmedv
Apr 1, 2025
Replies: 1 comment 1 reply
-
You're hitting the "memory budget exceeded" error because the list is too large. In expr-lang v1.17.0+, you can increase the memory limit using the vm := vm.VM{MemoryBudget: 1e9}
vm.Run(program) Adjust to fit your use case. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rdaniel1105
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
You're hitting the "memory budget exceeded" error because the list is too large. In expr-lang v1.17.0+, you can increase the memory limit using the
vm.MemoryBudget
option:Adjust to fit your use case.