[英]Stack overflow error encountered in AnyLogic
My model executed for the first 800 seconds after which I encounter the following error.我的模型在前 800 秒内执行,之后我遇到以下错误。 Is there a way by which I can increase the stack size in AnyLogic?
有没有办法增加 AnyLogic 中的堆栈大小? Is there any other approach I could use to counter the same?
我可以用其他任何方法来反击吗?
`Exception during discrete event execution:
StackOverflowError
java.lang.StackOverflowError
at com.anylogic.engine.Agent.e(Unknown Source)
at com.anylogic.engine.Agent.h(Unknown Source)
at com.anylogic.engine.Agent.ext(Unknown Source)
at com.anylogic.libraries.processmodeling.OutPort.b(Unknown Source)
at com.anylogic.libraries.processmodeling.OutputBlock.forwardReadyEntityNotification(Unknown Source)
at com.anylogic.libraries.processmodeling.InputBlock$1.a(Unknown Source)
at com.anylogic.libraries.processmodeling.OutPort.a(Unknown Source)
at com.anylogic.libraries.processmodeling.OutPort.b(Unknown Source)
at com.anylogic.libraries.processmodeling.OutputBlock.forwardReadyEntityNotification(Unknown
Source)
at com.anylogic.libraries.processmodeling.InputBlock$1.a(Unknown Source)
at com.anylogic.libraries.processmodeling.OutPort.a(Unknown Source)
at com.anylogic.libraries.processmodeling.OutPort.b(Unknown Source)
at com.anylogic.libraries.processmodeling.OutputBlock.forwardReadyEntityNotification(Unknown
Source)`
I believe that you are using the free trial /(PLE) version of the AnyLogic software as the stack size is limited .我相信您使用的是 AnyLogic 软件的免费试用版 /(PLE) 版本,因为堆栈大小有限。 The problem can be resolved by downsizing you model in terms of decreasing the number of agents or purchasing the full version here.
可以通过减少代理数量或在此处购买完整版本来缩小模型大小来解决此问题。 https://www.anylogic.com/purchase/
https://www.anylogic.com/purchase/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.