high-memory expression evaluation

Certified Senior Developer

Hello everybody

we have got this message in tomcat logs:

"A high-memory expression evaluation was logged, but the evaluation was not identified. The expressions aborted log will not contain all evaluation info"

and this message is repeated several times and between every occurrence there are the lines that I have put in the log in attachment.

I would ask if someone has ever met this error, or in alternative if you can give to me some hints,  after the reading of the log, that in my opinion in quite hard to understand.

Thank you in advance for any help or suggestion, best regards

Paolo

2023-03-02 10:24:45,802 [Appian AppianServerThreadPoolProvider 120356] ERROR com.appiancorp.core.expr.PerEvaluationEvaluationMetrics - A high-memory expression evaluation was logged, but the evaluation was not identified. The expressions aborted log will not contain all evaluation info.
java.lang.Exception
        at com.appiancorp.core.expr.PerEvaluationEvaluationMetrics.checkWeightAbortIfNecessary(PerEvaluationEvaluationMetrics.java:147)
        at com.appiancorp.core.expr.PerEvaluationEvaluationMetrics.onIncrementTemporaryMemoryWeight(PerEvaluationEvaluationMetrics.java:87)
        at com.appiancorp.core.expr.EvaluationMetrics.incrementTemporaryMemoryWeight(EvaluationMetrics.java:68)
        at com.appiancorp.core.expr.tree.MemoryWeightTracker.add(MemoryWeightTracker.java:33)
        at com.appiancorp.core.expr.fn.looping.HigherOrderFunction.getResult(HigherOrderFunction.java:263)
        at com.appiancorp.core.expr.fn.looping.HigherOrderFunction.apply(HigherOrderFunction.java:169)
        at com.appiancorp.core.expr.fn.looping.HigherOrderFunction.apply0(HigherOrderFunction.java:97)
        at com.appiancorp.core.expr.fn.looping.HigherOrderFunction.apply(HigherOrderFunction.java:72)
        at com.appiancorp.core.expr.fn.looping.LoopingFunction.evaluateList(LoopingFunction.java:48)
        at com.appiancorp.core.expr.fn.looping.ApplyWithCustomIdentifiers.eval(ApplyWithCustomIdentifiers.java:28)
        at com.appiancorp.core.expr.fn.Function.eval0(Function.java:62)
        at com.appiancorp.core.expr.DefaultEvaluable.eval(DefaultEvaluable.java:214)
        at com.appiancorp.core.expr.FunctionCallDelegate$InternalFunctionCallWithContext.eval(FunctionCallDelegate.java:284)
        at com.appiancorp.core.expr.FunctionCallDelegate.evalFunctionCall(FunctionCallDelegate.java:107)
        at com.appiancorp.core.expr.AppianScriptContextTop.evalInternalFunction(AppianScriptContextTop.java:530)
        at com.appiancorp.core.expr.AppianScriptContextChild.evalInternalFunction(AppianScriptContextChild.java:293)
        at com.appiancorp.core.expr.tree.FunctionCall.evalImmediate(FunctionCall.java:577)
        at com.appiancorp.core.expr.tree.FunctionCall.evalEvaluable(FunctionCall.java:527)
        at com.appiancorp.core.expr.tree.FunctionCall.evalWrapped(FunctionCall.java:637)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.Tree.eval0(Tree.java:418)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.evaluateLetBody(AbstractLetFunction.java:166)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.eval00(AbstractLetFunction.java:110)
        at com.appiancorp.core.expr.tree.With.eval0(With.java:103)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.evaluateLetBody(AbstractLetFunction.java:166)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.eval00(AbstractLetFunction.java:110)
        at com.appiancorp.core.expr.tree.Load.eval0(Load.java:104)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.If.evalInner(If.java:178)
        at com.appiancorp.core.expr.tree.If.eval0(If.java:108)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.evaluateLetBody(AbstractLetFunction.java:166)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.eval00(AbstractLetFunction.java:110)
        at com.appiancorp.core.expr.tree.With.eval0(With.java:103)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.If.evalInner(If.java:198)
        at com.appiancorp.core.expr.tree.If.eval0(If.java:108)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.evaluateLetBody(AbstractLetFunction.java:166)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.eval00(AbstractLetFunction.java:110)
        at com.appiancorp.core.expr.tree.With.eval0(With.java:103)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.rule.Rule.evalBody(Rule.java:1463)
        at com.appiancorp.core.expr.rule.Rule.doEval(Rule.java:860)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:746)
        at com.appiancorp.core.expr.rule.Rule.evalAndCache(Rule.java:640)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:632)
        at com.appiancorp.core.expr.rule.Rule.evalWithMetrics(Rule.java:613)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:599)
        at com.appiancorp.core.expr.tree.FreeformRule.evalWrapped(FreeformRule.java:159)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:132)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.If.evalInner(If.java:198)
        at com.appiancorp.core.expr.tree.If.eval0(If.java:108)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.evaluateLetBody(AbstractLetFunction.java:166)
        at com.appiancorp.core.expr.tree.AbstractLetFunction.eval00(AbstractLetFunction.java:110)
        at com.appiancorp.core.expr.tree.LocalVariables.eval0(LocalVariables.java:105)
        at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.rule.Rule.evalBody(Rule.java:1463)
        at com.appiancorp.core.expr.rule.Rule.doEval(Rule.java:860)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:746)
        at com.appiancorp.core.expr.rule.Rule.evalAndCache(Rule.java:640)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:632)
        at com.appiancorp.core.expr.rule.Rule.evalWithMetrics(Rule.java:613)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:599)
        at com.appiancorp.core.expr.tree.FreeformRule.evalWrapped(FreeformRule.java:159)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:132)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.rule.Rule.evalTreeOrValue(Rule.java:1185)
        at com.appiancorp.core.expr.rule.Rule.cast(Rule.java:1127)
        at com.appiancorp.core.expr.rule.Rule.prepareBindingsPositionalInternalSerial(Rule.java:1108)
        at com.appiancorp.core.expr.rule.Rule.prepareBindingsPositional(Rule.java:1042)
        at com.appiancorp.core.expr.rule.Rule.doEval(Rule.java:793)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:746)
        at com.appiancorp.core.expr.rule.Rule.evalAndCache(Rule.java:640)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:632)
        at com.appiancorp.core.expr.rule.Rule.evalWithMetrics(Rule.java:613)
        at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:599)
        at com.appiancorp.core.expr.tree.FreeformRule.evalWrapped(FreeformRule.java:159)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:433)
        at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:132)
        at com.appiancorp.core.expr.Tree.eval(Tree.java:333)
        at com.appiancorp.core.expr.ListScheduled.evalResult(ListScheduled.java:40)
        at com.appiancorp.core.expr.AbstractScheduled.evalAlways(AbstractScheduled.java:77)
        at com.appiancorp.core.expr.AbstractScheduled.eval(AbstractScheduled.java:57)
        at com.appiancorp.core.expr.ListScheduled.eval(ListScheduled.java:9)
        at com.appiancorp.core.expr.ListOfScheduledCallable.call(ListOfScheduledCallable.java:70)
        at com.appiancorp.core.expr.ListOfScheduledCallable.call(ListOfScheduledCallable.java:18)
        at com.appiancorp.expr.server.environment.ServerExecutorProvider$ThreadLocalPropagatingCallable.call(ServerExecutorProvider.java:101)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at com.appiancorp.expr.server.environment.SubmitExecutorRunnable.run(SubmitExecutorRunnable.java:37)
        at com.appiancorp.object.AppianThreadFactory$LogRunnable.run(AppianThreadFactory.java:89)
        at java.lang.Thread.run(Thread.java:750)
2023-03-02 10:26:02,661 [ajp-nio-0.0.0.0-8009-exec-9] ERROR com.appiancorp.security.auth.saml.redirecter.SamlAuthProviderQueryStringGenerator - Could not find IdP entity Id: Idp Entity Id not stored on session or request
2023-03-02 10:27:25,282 [Appian AppianServerThreadPoolProvider 122692] ERROR com.appiancorp.core.expr.PerEvaluationEvaluationMetrics - A high-memory expression evaluation was logged, but the evaluation was not identified. The expressions aborted log will not contain all evaluation info.
java.lang.Exception

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I have never encountered this error. It seems to say an expression you are using was marked as high-memory but the evaluation could not be figured a bit like how Excel funciton fails but Excel can't find what failed. Are you able to determine which expression or which object is executed when this is message is written? If yes, may be try executing it in parts to find out which bit might be causing the problem, perhaps a loop or something query or component fetching too much data.  

Reply
  • 0
    Certified Lead Developer

    I have never encountered this error. It seems to say an expression you are using was marked as high-memory but the evaluation could not be figured a bit like how Excel funciton fails but Excel can't find what failed. Are you able to determine which expression or which object is executed when this is message is written? If yes, may be try executing it in parts to find out which bit might be causing the problem, perhaps a loop or something query or component fetching too much data.  

Children
No Data