OutOfMemoryException: Out of memory during OnItemCraftSolved
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.0.5' (OutOfMemoryException: Out of memory)
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00021] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.Collections.Generic.List`1[T].Add (T item) [0x00010] in <ac823e2bb42b41bda67924a45a0173c3>:0
at Oxide.Plugins.InstantCraft.GetStacks (ItemDefinition item, System.Int32 amount) [0x00017] in <29ae6891e3c14adda4eeddbe2a56fc3b>:0
at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x00061] in <29ae6891e3c14adda4eeddbe2a56fc3b>:0
at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <29ae6891e3c14adda4eeddbe2a56fc3b>:0
at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c9] in <29ae6891e3c14adda4eeddbe2a56fc3b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
According to the error, your server ran out of memory.
weird i will look into it cause i still have 8gb left

Merged post

still getting it an im running 32gb im only using 8gb
I get kicked out after moving root combiner from inventory to belt or viceversa.

This is the error I get when I craft it (It's not instantly crafting either):

(15:03:51) | Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (OutOfMemoryException: Out of memory)

at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)

at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00021] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

at System.Collections.Generic.List`1[T].Add (T item) [0x00010] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

at Oxide.Plugins.InstantCraft.GetStacks (ItemDefinition item, System.Int32 amount) [0x00017] in <1c65f2f8d643467982b3f8507f704b9f>:0

at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x0006b] in <1c65f2f8d643467982b3f8507f704b9f>:0

at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <1c65f2f8d643467982b3f8507f704b9f>:0

at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00126] in <1c65f2f8d643467982b3f8507f704b9f>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

(15:03:51) | Calling 'OnItemCraft' on 'InstantCraft v2.1.0' took 10709ms [GARBAGE COLLECT]

(15:03:51) | Calling 'OnItemCraft' on 'InstantCraft v2.1.0' took average 0ms [GARBAGE COLLECT]


After that I move the root combiner from the inventory to my belt and I get kicked out of the server. Any help would be GREATLY appreciated since no one can use root combiners.
Things I've tried:

1. Download latest version of oxide/instantcraft.
2. Delete all files from data/config/language/plugins and re-install.
3. Restart whole server.

This is a new problem it didn't used to happen. Maybe it's a conflict with another mod?
Here's a list of all the mods I have.



I'm in DESPERATE help orange! I'll even give a donation if you help me fix this ASAP.
Cheers!
OutOfMemoryException: Out of memory

Solved - In stack size controller stack of root combiner was 0
Locked automatically