You are not logged in.

#1 2015-01-03 18:34:36

GoogleBot
Member
Registered: 2015-01-03
Posts: 3

Installed ghc uses too much memory?

Hello!  My first time in the forums!  I was installing haskell-platform via yaourt and I was surprised to see just how much memory ghc uses once installed in comparison to the download size... should I be concerned?

Thanks!



Here is some of the output.

==> Continue building haskell-platform ? [Y/n]
==> ------------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for haskell-platform:
resolving dependencies...
looking for conflicting packages...

Packages (1) ghc-7.8.3-2

Total Download Size:    62.17 MiB
Total Installed Size:  787.85 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...

Offline

#2 2015-01-03 18:44:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Installed ghc uses too much memory?

That isn't memory usage, it's hard drive usage.

And yes, it is correct.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-01-04 02:06:43

GoogleBot
Member
Registered: 2015-01-03
Posts: 3

Re: Installed ghc uses too much memory?

slithery wrote:

That isn't memory usage, it's hard drive usage.

And yes, it is correct.

Ok thanks... Disk space is memory though... no?  RAM, processor cache, and disk space are all memory...  But yes I could have been more specific about that the kind of memory is in the form of the disk. 

The installed size is more than 10 times the size of the package being installed... is this because the package creates a lot of other files (config files, etc.)?

Offline

#4 2015-01-04 02:18:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: Installed ghc uses too much memory?

No the installed size is the package size.  It is compressed for download.  Would you prefer that packages were not compressed and took longer to download?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-01-05 02:02:51

GoogleBot
Member
Registered: 2015-01-03
Posts: 3

Re: Installed ghc uses too much memory?

Trilby wrote:

No the installed size is the package size.  It is compressed for download.  Would you prefer that packages were not compressed and took longer to download?

OK.  I didn't think that it was reasonable that the package could be compressed to a tenth of its original size.  That is what concerned me.  I was wondering how there could be such a large difference between the two.  But after opening the package it is clear that it really is compressed to a tenth of its size.

I know the packages are compressed.

Offline

Board footer

Powered by FluxBB