You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it the expression parser that's throwing the error? If so, we might be able to just add a unit test with the long expression that causes the problem.
It seems to be the config parser, particularly the initial condition parsing (which is an expression), after I debugged some. The overflow starts from:
Large models may crash Hyst due to a stackoverflow in the grammar/parser.
Example model has hundreds of variables. Apparently github is stupid and won't let you upload plain text files without .txt extension....
iss_full_model.cfg.txt
iss_full_model.xml.txt
Possible fix is here:
http://stackoverflow.com/questions/26062730/antlr4-throws-java-lang-stackoverflowerror-on-longer-files
The text was updated successfully, but these errors were encountered: