Windows says that I don't have enough ram to run GH

Hi,
I have been struggling with Rhino not responding whenever I try to run my gh script. I finally cut it down to just one function of my entire model and I still have issues as shown below

This is what task manager looks like
image

I have a feeling that the issue is related to the breps I am trying to move but i don’t understand what the exact issue is. Attaching the gh script, I hope someone can shed some light on this matter.
M1.gh (2.3 MB)

Edit: The ram on my PC is 16 GB

Run the Rhino command SystemInfo and post the results.

Rhino 7 SR30 2023-6-12 (Rhino 7, 7.30.23163.13001, Git hash:master @ f695e494df78377a81b2b95edb99c6067e324b33)
License type: Corporate, build 2023-06-12
License details: Stand-Alone

Windows 11 (10.0.22000 SR0.0) or greater (Physical RAM: 16Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: AMD Radeon RX 6600 XT (AMD) Memory: 8GB, Driver date: 6-22-2022 (M-D-Y). OpenGL Ver: 4.6.14800 Compatibility Profile Context 22.6.1 30.0.21023.1015
> Accelerated graphics device with 6 adapter port(s)
- Secondary monitor attached to adapter port #0
- Windows Main Display attached to adapter port #1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: ATI Technologies Inc.
Render version: 4.6
Shading Language: 4.60
Driver Date: 6-22-2022
Driver Version: 30.0.21023.1015
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 8176 MB

Rhino plugins that do not ship with Rhino
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\TeDAsharp (ce983e9d-72de-4a79-8832-7c374e6e26de)\0.1.0.0\TeDaSharp_050.rhp “TeDAsharp” 0.1.0.0
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Bullant\1.6.1.0\bullant.rhp “bullant” 1.6.1.0
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Karamba3D\2.2.0.15\Karamba3D_LicensePlugin_Rhino7.rhp “Karamba3DLicense”
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\ggRhinoETABS\0.3.41.0\ggRhinoETABS.rhp “ggRhinoETABS” 0.3.41.0
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\ggRhinoSAP\1.5.50.0\ggRhinoSAP.rhp “ggRhinoSAP” 1.5.50.0
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\ggRhinoSPACEGASS\1.2.30.0\ggRhinoSPACEGASS.rhp “ggRhinoSPACEGASS” 1.2.30.0
C:\Users\user\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\ggRhinoRobot\1.3.14.0\ggRhinoRobot.rhp “ggRhinoRobot” 1.3.14.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.30.23163.13001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

I think this is because it is not a license that you have paid for.

3 Likes

I apologize, I was wondering if that’s the reason why there weren’t many responses to this thread after i sent my system info. I do know that not using a paid license for any reason is unethical/frowned upon, and I use this only to learn since I cant afford a license at the moment. Would this run for sure if the license was paid for? Unfortunately there are a couple of things I cant figure out on grasshopper by purely reading books and watching videos (the only resources that are currently financially viable). Again, I sincerely apologize.

I opened the file and it uses about 500 MB of memory.

@davidcockey the issue arises when the brep is connected to the move component. It will not be connected in the file I shared because I couldn’t get that far.

I do want to add as an update that I manage to get this running without an issue when I used a grasshopper script that did not involve using elements edited on rhino. However, I don’t understand why baking a model, editing it on Rhino, and then adding it back to grasshopper creates such a big issue for me.

Hi -

Can you explain, in words, what you are trying to do with that move component?
-wim

In my larger GH script i am moving the Breps by a distance that is = half of their individual lengths. This is to create grooves in a waffle structure. But the whole script kept crashing and i managed to isolate the problematic part to the section of the script that i provided. The original “cut” breps generated has to be modified a bit on rhino so i did that. It was when I brought it back to grasshopper that I started facing issues.

I hope that explanation made some sense. Tbh its a little hard to explain

So, one input, one output?
(Because, that’s not what you are doing. You’re having 1 input and 1000 output)

Sorry I’m having a little trouble understanding… the brep input has the 1000 ish pieces and then my out put is to have them moved upwards. Is that what you are referring to?

Yes, and for each 1 (one) of those 1000, you are generating 1000 outputs. That’s adding up…
You’ll have to look into using data trees in Grasshopper. There are plenty of links to tutorials from many of the other threads in this forum.
-wim