Problem summary A negative value for the interactiveRenderThreads3D preference or a negative value sent to the -threads argument for renderboot is causing an uncontrollable amount of memory usage.
Customer reported version katana.n_a
Customer reported platform
Steps to reproduce
Delete the .katana/Prefs2.ini file
Start Katana with profilingMockRenderer (KATANA_RESOURCES=$KATANA_RESOURCES:$KATANA_ROOT/plugins/Resources/Examples)
Go to the Preferences pop-up window (Edit > Preferences)
In the application section, change rendering.interactiveRenderThreads3D to "-1"
Close the preferences window
In the Node Graph tab, create a CameraCreate node
Set the view flag on the CameraCreate node
Start a Preview Render (Ctrl + p)
Expected behavior profilingMockRenderer starts and prints statistics in the Render Log tab.
Actual behavior The entire system memory is filled within seconds and can freeze the whole computer. The render never finishes (nor does it seem to start).
Workaround Set zero or positive values for the rendering.interactiveRenderThreads3D preference.
Reproduced by support This bug has been reproduced in: Katana 5.0v4 - CentOS 7.9, Windows 10 (21H2) Katana 5.0v1 - CentOS 7.9, Windows 10 (21H2) Katana 4.5v4 - CentOS 7.9, Windows 10 (21H2) Katana 4.5v1 - CentOS 7.9, Windows 10 (21H2)
Unable to reproduce bug in: Katana 4.0v8 - CentOS 7.9, Windows 10 (21H2)
Earliest version tested Katana 4.0v8 - This issue doesn't appear in this version and has regressed