blank web page, stack overflow when rendering large output #14

Closed
simonmichael opened this Issue Apr 8, 2013 · 2 comments

Projects

None yet

1 participant

@simonmichael
Owner

Original author: simon@joyful.com (December 12, 2009 16:05:46)

What steps will reproduce the problem?

  1. run hledger web with my full year's ledger
  2. visit the register screen

What is the expected output? What do you see instead?

Register screen within a few seconds. Instead: after some seconds, a blank page and on the console
"HTTP request failed with: stack overflow".

Original issue: http://code.google.com/p/hledger/issues/detail?id=14

@simonmichael
Owner

From simon@joyful.com on February 06, 2010 23:52:41
The issue seems to be the size of the command's output - about 200K is fine here but
450K is not, unless I increase stack space with +RTS -K16000000. It's probably a
weakness in or a misuse of one of the web frameworks.

@simonmichael
Owner

From simon@joyful.com on February 16, 2010 04:04:42
It was gsubRegexPR from the regexpr library. I've removed that and pages now serve
without error (and faster). Fixed in darcs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment