Skip to content

Improve memory behaviour #27

Open
Open
@nh2

Description

@nh2

In the GHC source code:

module Main where

import Language.Haskell.Exts.Annotated

main = print . length . show =<< parseFile "testsuite/tests/perf/compiler/parsing001.hs"
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.

You have to compile with ghc, since ghci does not stack space overflow.

The example file can be obtained at https://raw.github.com/ghc/testsuite/master/tests/perf/compiler/parsing001.hs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions