GuntherRademacher / rr

RR - Railroad Diagram Generator
Apache License 2.0
467 stars 51 forks source link

Proxy Error after large request #18

Closed Cambaru closed 1 year ago

Cambaru commented 1 year ago

I've encountered a Problem where a request to render my EBNF code led to a Proxy Error on multiple devices for a longer period of time.

I simply asked the server to render a very large EBNF. The request was processed and the result was the as before stated error.

The code i used was something like this: EBNF Nightmare.txt

Of course, this is just example code. But the server should probably return an error when too large data is sent instead of crashing.

GuntherRademacher commented 1 year ago

This just hits the memory limit of my small Tomcat server, and I won't increase that. If you insist on processing this, please run RR locally. Just tried that on my equally small laptop, and it indeed brought up the diagram, after quite some time, though. Below is a snippet from the top left corner.

snippet