If it's high with both cabal and stack, it's most likely the compilation
with GHC itself. The best way to check would be to open up Activity
Monitor, turn to the CPU tab, sort by CPU usage descending, and then start
compiling. The culprit should be readily apparent.

On Sat, Jan 19, 2019 at 7:25 PM Prodromos Kolyvakis <prokolyva...@gmail.com>
wrote:

> Hello to all,
>
> I have made a fresh install of Haskell Platform on Mac OS Mojave. After
> that I moved on building Hakyll though cabal and I noticed an extremely
> high CPU usage.
> When I allowed for 4 threads the whole system got stacked and I had to
> killed it. So finally, I built it with only one thread where again I
> noticed an extremely high CPU usage. FYI, I used the following command:
>
> cabal new-install -j1 hakyll
>
> After the successful instalationl, I tried to build my site with: stack
> build however the CPU usage turned again extremely high (including of
> course the temperature). Do you know if it is a common issue with either
> stack or ghc?
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to haskell-stack+unsubscr...@googlegroups.com.
> To post to this group, send email to haskell-stack@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/haskell-stack/d551e4f8-602a-4eac-8467-cf5b380292f1%40googlegroups.com
> <https://groups.google.com/d/msgid/haskell-stack/d551e4f8-602a-4eac-8467-cf5b380292f1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/CAKT9ecMaJbwFR7DL7vM2sLM64H3dshUXGNigqBwOWUmzSY-_rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to