From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Pearce Subject: Re: Git exhausts memory. Date: Tue, 5 Apr 2011 18:19:30 -0400 Message-ID: References: <4D9B47D2.6050909@ira.uka.de> <7vzko4mw44.fsf@alter.siamese.dyndns.org> <7vmxk4l4yb.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Nicolas Pitre , Holger Hellmuth , Nguyen Thai Ngoc Duy , Git Mailing List , Alif Wahid To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Apr 06 00:19:57 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7EbM-0004Ow-6k for gcvg-git-2@lo.gmane.org; Wed, 06 Apr 2011 00:19:56 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753303Ab1DEWTv (ORCPT ); Tue, 5 Apr 2011 18:19:51 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:52107 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239Ab1DEWTu (ORCPT ); Tue, 5 Apr 2011 18:19:50 -0400 Received: by vws1 with SMTP id 1so675602vws.19 for ; Tue, 05 Apr 2011 15:19:50 -0700 (PDT) Received: by 10.52.88.12 with SMTP id bc12mr304229vdb.243.1302041990206; Tue, 05 Apr 2011 15:19:50 -0700 (PDT) Received: by 10.52.166.133 with HTTP; Tue, 5 Apr 2011 15:19:30 -0700 (PDT) In-Reply-To: <7vmxk4l4yb.fsf@alter.siamese.dyndns.org> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Apr 5, 2011 at 18:16, Junio C Hamano wrote: > Nicolas Pitre writes: > >>> > This is only implemented inside of fast-import. pack-objects does not >>> > honor this variable. >>> >>> Do you mean perhaps we should? >> >> Yes. >> >> Acked-by: Nicolas Pitre > > I actually was somewhat unhappy to use uintmax_t type in the public header > for some reason I cannot quite explain (perhaps religious), and was hoping > somebody with more sanity than myself would stop me or show me a better > way. unsigned long? Without even looking at the source, I bet that is the type used by pack-objects for the size member that you are comparing against. -- Shawn.