To further study the behavior of the generated parsers, we analyzed their memory consumption. While a high memory
consumption may not be a problem on high-end systems, high memory consumption can be prohibitive on handheld
devices, and may also explain some of the runtime performance behavior.
Figure 8 shows our results. Interestingly, the JavaScript memory usage is not significantly higher than the memory use on Java. We see this as a strong indication that the platform indeed is suitable for tasks such as parsing.
Taking a closer look at the graph, the memory usage in Java- Script appears to be linear, increasing at roughly 5.5 MB per
100 lines of code