Farm agent cannot be installed

T_T…

  1. The farm agent cannot be installed.

The rest of the Apps including farm queue install just fine.

I checked the launcher.log During installation in Launcher,

the corresponding log is recorded and the launcher itself is shut down.

[[18060:0309/115520.076:ERROR:node_bindings.cc(146)] Fatal error in V8: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory]

I am using windows 11.
My system RAM 128GB
GPU A6000 48GB

I tested it on four of my workstations and they all got the same results…

plz help…

Hello @mangooo! What version of Farm Agent are you installing. I just tested Release 104.0.0 and it worked fine for me. If you could, please share your full logs with us, it might shed more light onto why you are receiving this error.

For the particular error you mentioned, it is a JavaScript Node.js issue where the default memory allocated by your system to Node.js is not enough to run a large project. When I see this error (on a Windows machine) this is how I usually fix it:

  1. Open the Start menu, search for Advanced System Settings, and select the Best match.
  2. From the dialog box, click on Environment Variables, then click on New from either System variables (applies to all users) or User variables (applies to current user).
  3. In the Variable name field enter NODE_OPTIONS. In the Variable value field enter --max-old-space-size=4096. This value will allocate 4GB of virtual memory to Node.js. To set a different value, multiply the amount you require in GB by 1024 (the variable value needs to be in MB).
  4. Click on OK to save your changes, then click Apply and finally click OK once more. Restart Omniverse for the changes to take effect and you should hopefully avoid the “JavaScript heap out of memory” error.

I believe you can also make this change in a PowerShell terminal by opening one up and typing this command then pressing Enter:
$env:NODE_OPTIONS="--max-old-space-size=4096"

If you want to increase the heap memory temporarily, you can run this command in the PowerShell:
set NODE_OPTIONS=--max-old-space-size=4096

Let me know if this helps, if not, please share your logs with me so that we can help troubleshoot the issue!

thx @WendyGram

I installed both 104 and 103 versions.

I did as you said and the problem went away. However, the following log appears and the launcher is terminated without installation as before.

I am attaching the log that occurred when I hit the install command.

[2023-03-17 16:58:14.422] [info] Running /install command…
[2023-03-17 16:58:14.423] [debug] Enqueue [b8eb8855-a546-406c-9a41-792697bb81fd] .
[2023-03-17 16:58:14.423] [debug] Set current installer [b8eb8855-a546-406c-9a41-792697bb81fd] .
[2023-03-17 16:58:14.438] [debug] [b8eb8855-a546-406c-9a41-792697bb81fd] Extracting C:\Users\sales\Downloads\agent.zip to C:\Omniverse\library\OycNZ8…
[2023-03-17 16:58:14.459] [error] (node:2020) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use NVIDIA Omniverse Launcher --trace-deprecation ... to show where the warning was created)
[2023-03-17 16:58:33.116] [debug] [b8eb8855-a546-406c-9a41-792697bb81fd] Read description.toml file from C:\Omniverse\library\OycNZ8
[2023-03-17 16:58:33.120] [debug] [b8eb8855-a546-406c-9a41-792697bb81fd] Extracting C:\Omniverse\library\OycNZ8\windows-x86_64\package.zip to C:\Omniverse\library\OycNZ8\windows-x86_64…

1 Like

Hi Wendy,

My team cannot install Farm agent.
Please see the attached logs.
Please advise!

Farm Agent
Enterprise Branch version 104.0.0

Error occurred during installation of Farm Agent: request to https://asset.launcher.omniverse.nvidia.com/farm-agent/104.0.0/windows-x86_64/jobs/stage-collect/11cdd4498b98eb35caf2b2b5f80d985b.zip?Expires=1682659715&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9hc3NldC5sYXVuY2hlci5vbW5pdmVyc2UubnZpZGlhLmNvbS9mYXJtLWFnZW50LzEwNC4wLjAvd2luZG93cy14ODZfNjQvam9icy9zdGFnZS1jb2xsZWN0LzExY2RkNDQ5OGI5OGViMzVjYWYyYjJiNWY4MGQ5ODViLnppcCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4MjY1OTcxNX19fV19&Signature=G7FTVPHX6mto2a-LHKwcV~wN7nq7Ou974VyGtatxubmlEWGDSme5Yk3Jm1QZytDFTJNkjnjRMUO8lYH-7OJ46YMJvEghey9AvcQlr6UEzblK8yVieh38etREZ0lP28kNCbbCh-MOZ3G8htg9sQGI9YGPNP7c07AqFDokWiSCF7USPAjBx1QBao5yFLU0F-~Ue8w2KTuupy3bKrOjIP-fUIVciRHcU5DRIWRRNZG-GtS8BWDF-ynDkita83g6Mo8xUDKq99yqBNHkH~DbJYhGiukDGfIGQuB46zRY1mR03upgCCMdBID5SyiQiKLOdfGP3xD1VOzOdNmx1DtMwoImrA__&Key-Pair-Id=K13PD0MHC2KFRP failed, reason: connect ETIMEDOUT 18.154.227.8:443

Best,

Alan Morales
Senior Media Production Specialist
BAE systems