ID 535947 - Nuke uses excessive RAM when viewing the output of scripts which contain Roto nodes with lots of roto shapes

Follow

Problem summary
Nuke uses excessive RAM when viewing the output of scripts which contain Roto nodes with lots of roto shapes.
In the attached example script, Nuke will use ~90gb of RAM to load a single frame on Windows.
 
Customer reported version
Nuke 13.2v4
 
Customer reported platform
Windows 
 
Steps to reproduce
 
1) Open Nuke.
 
2) Open the attached .nk script.
 
3) Read in the attached EXR sequence and connect it to the B input of the Copy5 node.
 
4) View the result from the Write node.
 
5) Observe the amount of RAM being used by Nuke. On Windows, this can be done in Task Manager, or with top on Linux.
 
Expected behaviour
what were you expecting to happen
 
Actual behaviour
Nuke uses excessive RAM when viewing the output of scripts which contain many Roto shapes.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Nuke 14.0v3 - Windows 10 - Linux CentOS 7
Nuke 10.0v1 - Windows 10 - Linux CentOS 7
 
Earliest version tested
Nuke 10.0v1
- This issue appears to be in all tested versions of the product
 

    We're sorry to hear that

    Please tell us why