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

REPL uses CPU while doing nothing #862

Closed
borkdude opened this issue Aug 23, 2018 · 1 comment
Closed

REPL uses CPU while doing nothing #862

borkdude opened this issue Aug 23, 2018 · 1 comment

Comments

@borkdude
Copy link

Description

I have tried the eta-scotty-example https://github.com/Jyothsnasrinivas/eta-scotty-example in the etlas repl.
When the REPL is showing a prompt and not doing anything else, the CPU usage for a java process goes up to 150% on my Macbook Air.

Expected Behavior

I expect the REPL to not use much resources when idling.

Actual Behavior

150% CPU usage on a Macbook Air.

Steps to Reproduce

  1. git clone https://github.com/Jyothsnasrinivas/eta-scotty-example
  2. cd eta-scotty-example
  3. etlas repl
  4. wait for the prompt

Your Environment

  • Current Eta & Etlas version:

etlas version 1.5.0.0
compiled using version 2.1.0.0 of the etlas-cabal library
Eta REPL v0.8.6b1

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

  • Operating System and version:
    MacOS El Capitan 10.11.6
@rahulmutt
Copy link
Member

This is a duplicate of #839. This will be fixed in 0.8.6b2 which will be released within the next week.

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

2 participants