ports/103353: Ruby install / upgrade uses LOTs of memory

VANHULLEBUS Yvan vanhu_bsd at zeninc.net
Mon Sep 18 13:20:33 UTC 2006


>Number:         103353
>Category:       ports
>Synopsis:       Ruby install / upgrade uses LOTs of memory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 13:20:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     VANHULLEBUS Yvan
>Release:        FreeBSD 6.1-STABLE sparc64
>Organization:
None
>Environment:
System: FreeBSD panthero.zen.inc 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 07:58:23 UTC 2006 root at panthero.zen.inc:/usr/obj/usr/src/sys/GENERIC sparc64


	
>Description:

When installing / upgrading Ruby18 port, one process will use LOTS of memory (about 300MB !),
which is very problematic on small computers.

When looking at the output, it looks like this memory usage is "just" for generating
documentation ("Generating RDoc documentation").

As ruby1.8 is a dependancy for some admin's tools (portupgrade, etc...), it would be at least
interesting to be able to disable the generation of that documentation, for users
which just want some tools to work !

And I am also very interested in an explanation on such a memory usage !!


>How-To-Repeat:

Install / update ruby 1.8 port, and have a look at it's memory usage.

On a computer with less than 256MB RAM, also look at SWAP usage....


>Fix:

Looks like configure is called without --enable-install-doc, but there are lots of stuff
done related to doc in post-install.

It would be great to have a WITHOUT_RDOC, or something like that....



Yvan.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list