ID 586340 - Working with .cat files larger than 2GB causes instability

Follow

Problem summary
Working with .cat files larger than 2GB causes instability
 
Depending on platform, than can happen either in the CatFileCreator node (Windows) or in the Inference node (Linux, macOS)
 
Customer reported version
nuke.15.1v3
 
Customer reported platform
rocky9
 
Steps to reproduce
 
1) Download the attached model_creator.py

2) In Terminal, run the following command, this may take a while:
 
python <path/to>/model_creator.py 900 -o <path/to/output>.pt
*You can vary the number size to change how big the .pt file created is, 900 should create a 2.8GB~ file

3) Launch NukeX
 
4) Create a CatFileCreator node
 
5) Load in the .pt file into the Torscript File knob, set the Cat File knob to an output path, and see the Channels knobs to rgba.red, rgba.green, rgba.blue, and give the Model ID knob a name:

 
6) Press Create .cat file and Inference
 
Expected behaviour
For the cat file to be created and the Inference node to be useable
 
Actual behaviour
On Windows, Nuke crashes when you press Create .cat file and Inference
On Linux and macOS, the file is created, but errors saying: MLPlanarIop -> Exception caught loading Cat file:
 
Workaround
None
 
Reproduced by support
This bug has been reproduced in:
NukeX 15.1v3 - Windows 10, Rocky 9.3, macOS Sonoma
NukeX 13.1v1 - Windows 10, Rocky 9.3
 
Earliest version tested
NukeX 13.1v1 - This feature did not exist before this version

    We're sorry to hear that

    Please tell us why