Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash due to out of memory #39

Open
harendra-kumar opened this issue Aug 28, 2016 · 0 comments
Open

Crash due to out of memory #39

harendra-kumar opened this issue Aug 28, 2016 · 0 comments

Comments

@harendra-kumar
Copy link

Please to refer to diagrams/diagrams-lib#282 for more details. The following program when used with the rasterific backend makes the program go out of memory and finally getting killed (Linux) or crashing the system (Mac OS X).

{-# LANGUAGE NoMonomorphismRestriction #-}

import Diagrams.Prelude
import Diagrams.Backend.SVG.CmdLine

main = mainWith (arr :: Diagram B)

arr :: Diagram B
arr = arrowAt' (with & arrowShaft .~ (square 1)) (p2 (0, 0)) (r2 (1, 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant