Exception while starting compiler: Out of memoryNot An Issue
Failed to call hook 'CmdBuyVehicle' on plugin 'VehicleLicence v1.2.1' (NullReferenceException: Object reference not set to an instance of an object)
(23:31:32) | InvalidOperationException: Collection was modified; enumeration operation may not execute.
Exception while starting compiler version : (Win32Exception: ApplicationName='/home/tcagame/3540/3114/Compiler.x86_x64', CommandLine='/service /logPath:/home/tcagame/3540/3114/oxide/logs', CurrentDirectory='', Native error= Out of memory)
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <c9226b2f33b7421e85bb391f94075e49>:0
at System.Diagnostics.Process.Start () [0x0003a] in <c9226b2f33b7421e85bb391f94075e49>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x001f3] in <9affce1cd15c4ec183941adef8db1722>:0
I'm getting the following errors on a dedicated server with 9GB RAM - the error was while trying to fix some weirdness with some plugins not working just on this one machine:
12:43 [Error] Exception while starting compiler version : (Win32Exception: ApplicationName='/home/tcagame/537/3778/Compiler.x86_x64', CommandLine='/service /logPath:/home/tcagame/537/3778/oxide/logs', CurrentDirectory='', Native error= Out of memory)
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <0079a30f96a047348857e1cecc6c638a>:0
at System.Diagnostics.Process.Start () [0x0003a] in <0079a30f96a047348857e1cecc6c638a>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x001f3] in <9affce1cd15c4ec183941adef8db1722>:0
12:43 [Warning] Compiler may not be set as executable; chmod +x or 0744/0755 required
12:43 [Error] Win32 NativeErrorCode: 14 ErrorCode: -2147467259 HelpLink:
12:43 [Error] Error while compiling: compiler version couldn't be started
Any help with this would be appreciated.
Tony.
JimDeadlock
You need loads of RAM to reload these plugins on-the-fly while the server is running. If you can't add more RAM then the solution is to simply restart the Rust server which in turn will reload the plugins.
Not sure where you heard that from, but that isn't the necessarily the case. The amount of memory necessary depends on the plugin and particular action.
free -h
total used free shared buff/cache available
Mem: 7.8G 6.0G 1.5G 84M 273M 1.5G