Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Dsewnr Lu
I have the same problem when I want to upgrade libtool from 15 to 22,
thanks.

On Tue, Jun 15, 2010 at 10:57 AM, Olivier Nicole 
olivier.nic...@cs.ait.ac.th wrote:

 Hi,

 Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
 limit with xz when trying to build/upgrade several ports.

 The error message looks like:

  /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage
 limit reached
  /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed

 Is there a config parameter to tell the make files in /usr/ports to
 desactivate xz memory limit?

 Best regards,

 Olivier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Dsewnr Lu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Olivier Nicole
 I have the same problem when I want to upgrade libtool from 15 to 22,
 thanks.

True, libtool is among the several ports affected. For libtool I
uncompressed by hand and so make accepted to complete, but it
defeats the purpose of portupgrade if one has to do everything by
hand.

  Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
  limit with xz when trying to build/upgrade several ports.
 
  The error message looks like:
 
   /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage
  limit reached
   /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed
 
  Is there a config parameter to tell the make files in /usr/ports to
  desactivate xz memory limit?

TIA,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Bruce Cran
On Tuesday 15 June 2010 03:57:28 Olivier Nicole wrote:
 Hi,
 
 Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
 limit with xz when trying to build/upgrade several ports.
 
 The error message looks like:
 
   /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory
 usage limit reached /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would
 have been needed
 
 Is there a config parameter to tell the make files in /usr/ports to
 desactivate xz memory limit?

From xz(1):

   To  prevent uncomfortable surprises caused by huge memory usage, xz has
   a built-in memory usage limiter. While some operating  systems  provide
   ways  to  limit  the  memory  usage  of processes, relying on it wasn't
   deemed to be flexible enough. The default limit depends  on  the  total
   amount of physical RAM:

[...]

The default limit can be overridden with --memory=limit.

and

ENVIRONMENT
   XZ_OPT A space-separated list of options is parsed from  XZ_OPT  before
  parsing  the  options  given on the command line. Note that only
  options are parsed from XZ_OPT;  all  non-options  are  silently
  ignored.  Parsing is done with getopt_long(3) which is used also
  for the command line arguments.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Olivier Nicole
Hi,

Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
limit with xz when trying to build/upgrade several ports.

The error message looks like:

  /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage 
limit reached
  /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed

Is there a config parameter to tell the make files in /usr/ports to
desactivate xz memory limit?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Dsewnr Lu
I have the same problem when I want to upgrade libtool from 15 to 22,
thanks.

On Tue, Jun 15, 2010 at 10:57 AM, Olivier Nicole 
olivier.nic...@cs.ait.ac.th wrote:

 Hi,

 Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
 limit with xz when trying to build/upgrade several ports.

 The error message looks like:

  /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage
 limit reached
  /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed

 Is there a config parameter to tell the make files in /usr/ports to
 desactivate xz memory limit?

 Best regards,

 Olivier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Dsewnr Lu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org