neo-node
neo-node copied to clipboard
neo-cli has a memory leak
I recenty upgraded from version 2.10.0 to 2.12.1. I noticed that this new version of neo-cli slowly fills up my memory until it crashes.
Could you provide the error log?
Sure, I just have to wait for it to happen before I can post it,
Hi @jens-j , plz use v2.12.2 https://github.com/neo-project/neo-node/releases/tag/v2.12.2, it's a stable version.
So I finally got the error message from the crash. As you can see it's an out of memory exception. Cause by the program itself taking up all the ram. This is with the version 2.12.1 however, so I will upgrade and try if it still occurs.
[ERROR][1/3/21 9:56:32 PM][Thread 0056][akka://NeoSystem/user/$b] Error while creating actor instance of type Neo.Network.P2P.LocalNode with 1 args: (Neo.NeoSystem)
Cause: [akka://NeoSystem/user/$b#172808320]: Akka.Actor.PostRestartException: Exception post restart (System.OutOfMemoryException) ---> System.TypeLoadException: Error while creating actor instance of type Neo.Network.P2P.LocalNode with 1 args: (Neo.NeoSystem) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Neo.Network.P2P.LocalNode..ctor(NeoSystem system)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Akka.Actor.Props.ActivatorProducer.Produce()
at Akka.Actor.Props.NewActor()
--- End of inner exception stack trace ---
at Akka.Actor.Props.NewActor()
at Akka.Actor.ActorCell.CreateNewActorInstance()
at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
at Akka.Actor.ActorCell.UseThreadContext(Action action)
at Akka.Actor.ActorCell.NewActor()
at Akka.Actor.ActorCell.FinishRecreate(Exception cause, ActorBase failedActor)
--- End of inner exception stack trace ---
[ERROR][1/3/21 9:56:34 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$4E] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][1/3/21 9:56:34 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$eF] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][1/3/21 9:56:35 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$UE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)
[ERROR][1/3/21 9:56:35 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$WE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)pe envelope)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)system/IO-TCP/$6E] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)eoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][1/3/21 9:56:35 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$RE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)pe envelope)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)system/IO-TCP/$YE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)eoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][1/3/21 9:56:35 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$SE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)pe envelope)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)system/IO-TCP/$EE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)eoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][1/3/21 9:56:35 PM][Thread 0011][akka://NeoSystem/system/IO-TCP/$LE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
Cause: Akka.Actor.DeathPactException: Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorBase.Unhandled(Object message)pe envelope)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)system/IO-TCP/$IE] Monitored actor [[akka://NeoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)eoSystem/user/$b#172808320]] terminated
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
Hi, could you resolved the problem?
No I never did. Try the newest version. If the problem still exists, only the devs can solve it.
Old, if remains, please re-open