All of lore.kernel.org
 help / color / mirror / Atom feed
From: sascha-ml@babbelbox.org
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: Git Garbage Collect Error.
Date: Sat, 14 Jul 2012 05:36:30 +0200	[thread overview]
Message-ID: <7478187.7CcD6s6PIO@toshi> (raw)
In-Reply-To: <20120712093221.GA4443@sigill.intra.peff.net>

On Thursday 12 July 2012 05:32:21 Jeff King wrote:

> [...] which means you are probably not even getting to use all 4Gb of your
> address space (my impression is that without special flags, 32-bit Windows
> processes are limited to 2Gb of address space).

Indeed, that's how windows partitions memory on 32-Bit Systems. See:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366912.aspx

As it's always with that strange company, they don't spend a word about how 
they do it in the emulated 32 bit environment. However, a short testing 
reveals that a 32 bit process running on 64 bit Windows 7 with 6 GiB memory is 
not able to malloc() more than 1 GiB at once (which is not a big suprise at 
all - as malloc'ed memory has to be continuous inside the address space).

So one might guess that there is no difference in memory partitioning for 32 
bit processes running on 64 bit OS.

SaCu

  reply	other threads:[~2012-07-14  1:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 10:27 Git Garbage Collect Error Thomas Lucas
2012-07-12  9:32 ` Jeff King
2012-07-14  3:36   ` sascha-ml [this message]
2012-07-12 12:34 ` Philippe Vaucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7478187.7CcD6s6PIO@toshi \
    --to=sascha-ml@babbelbox.org \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.