Let's explain my issue. Asked on uMod discord but here will be better for everyone to see and reply if know something.
When I try to reload/unload/load plugin get the following error:
oxide.reload CustomMapName
Added '// Reference: 0Harmony' in plugin 'CustomMapName'
Exception while starting compiler version : (Win32Exception: ApplicationName='/home/container/Compiler.x86_x64', CommandLine='/service /logPath:/home/container/oxide/logs', CurrentDirectory='', Native error= Out of memory)
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at System.Diagnostics.Process.Start () [0x0003a] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x001f3] in <60c318df79ed41688ea59335e48d61ad>:0
Compiler may not be set as executable; chmod +x or 0744/0755 required
Win32 NativeErrorCode: 14 ErrorCode: -2147467259 HelpLink:
Error while compiling: compiler version couldn't be startedHave you tried something already? - YES
What exactly? -
1. Set pluginswatcher to false in oxide/oxide.config.json
2. Make sure there's enough ram to start the compiler ( have 7.5/10GB RAM for the server) host owner added/(increased to) for me 2GB cache memory or smth like this.
3. I guess that's all I have tried... Btw using Pterodactyl (of course Linux) and not sure if this bullshit happens for me too but I read in an old uMod topic about the same issue the last replay is (2y old post) from a guy using LGSM and he said that the wrong URL for Linux build was the issue for him. If the link is wrong, how the f*ck if you download/install the wrong nonLinux build server will start at all? :D
Anyways something real and I think the possible issue is still not checked - The Linux Permissions for the file manager and etc but I guess Ptero should handle this and have it auto-setup (I am talking for the chmod + x...)
Before had this issue on rare occasions, now it's every time, the only way to apply a small change to a plugin is full server restart. Even small plugins with a couple of lines of code trigger the error and do not reload.
Thanks for the help and hope someone knows a solution. Never had this issue on Windows/Linux before now.