git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Garbage Collect Error.

From
Ssascha-ml@babbelbox.org <sascha-ml@babbelbox.org>
Date
Jul 14, 2012, 03:36 UTC
Message-ID
<7478187.7CcD6s6PIO@toshi>
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
Previous: Jeff KingNext: Philippe Vaucher
Message 3 of 4 in “Git Garbage Collect Error.”
  1. Thomas LucasJun 13, 2012
  2. Jeff KingJul 12, 2012
  3. sascha-ml@babbelbox.orgJul 14, 2012
  4. Philippe VaucherJul 12, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.