ArthurSonzogni / Diagon

Interactive ASCII art diagram generators. :star2:
https://arthursonzogni.com/Diagon/
MIT License
1.47k stars 56 forks source link

Application crashes on too long input #57

Open KingaMasz opened 1 year ago

KingaMasz commented 1 year ago

App is not generating output for more than 16 000 characters long input. The crash occurs in tools: Tree, Mathematical expression, Graph - DAG, Graph - planar, Table, Frame. While trying to add any characters about that limit (to already inserted input) application crashes and user needs to refreash website. While trying to insert input longer than 16 000 characters (without anything added in input place before) app does not generate any output and crashes. Sometimes it displays error message "Aborted(OOM)" and in such case it's good to know there is an error. I think it would be nice to add how long input can be to README file and also make error messages in every tool. aborted