The print function SIP5-serializes the value it wants to print to pass it to a host function. But if this value is big enough, it might cause OOM issues, because we don't count the serialized bytes in the computation for the number of pages to allocate.
Example of a Clarity snippet that provokes the issue:
The
print
function SIP5-serializes the value it wants to print to pass it to a host function. But if this value is big enough, it might cause OOM issues, because we don't count the serialized bytes in the computation for the number of pages to allocate.Example of a Clarity snippet that provokes the issue: