<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Eliot Miranda wrote:
<blockquote
cite="mid:CAC20JE1s8qPA54CLDsO=z9qxwCd0SUojz7iVMs6rgS1vvc8KrQ@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 16, 2014 at 2:21 PM, Oscar E. A.
Callaú <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:oscar.apollo@gmail.com" target="_blank">oscar.apollo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
<div><br>
</div>
<div>I'm using Windows 8.1 (update1) 64bits with 4GB of physical
RAM. I only need 1.5GB of RAM, so I think I don't need to configure my
OS to take /3GB of RAM.</div>
</blockquote>
<div><br>
</div>
<div>Well my experience (and others) is that one can't grow the heap
much above 1.1 Gb without using the /3Gb switch on Windows XP. I can't
talk for 8.1. But if 8.x also limits memory to 2Gb/process unless the
/3Gb switch is in effect then yes, you'll need to use the /3Gb switch.</div>
<div> </div>
<div><br>
</div>
<div>HTH</div>
<div>Eliot</div>
<div><br>
</div>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
</div>
<div>Cheers</div>
<div class="HOEnZb">
<div class="h5">
<div><br>
On Wednesday, July 16, 2014, Eliot Miranda wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi Oscar,<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 16, 2014 at 9:11 AM, Oscar
E. A. Callaú <span dir="ltr"><<a moz-do-not-send="true">oscar.apollo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div dir="ltr">
<div>Hi guys,</div>
<div><br>
</div>
<div> I'm running some experiments in Pharo. My data is
aprox. 1.3GB. When I load my image on Mac, everything works perfectly.
But, when I try to load the same image on Windows, I get this error:</div>
<div><br>
</div>
<div>Unable to commit memory (1326649344 bytes requested)</div>
<div><br>
</div>
<div>I tried the Pharo VM, cogMT and NBcog with and without
the option</div>
<div><br>
</div>
<div>AddressSpaceLimit = 2048</div>
<div>
<br>
</div>
<div>in the ini file</div>
<div><br>
</div>
<div>Please help.</div>
</div>
</blockquote>
<div> </div>
<div>What OS are you using? Have you read e.g. <a
moz-do-not-send="true"
href="http://msdn.microsoft.com/en-us/library/windows/hardware/dn613959%28v=vs.85%29.aspx"
target="_blank">http://msdn.microsoft.com/en-us/library/windows/hardware/dn613959(v=vs.85).aspx</a>?
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
Here are some additional links...<br>
<br>
/LARGEADDRESSAWARE (Handle Large Addresses)<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/wz223b1z.aspx">http://msdn.microsoft.com/en-us/library/wz223b1z.aspx</a><br>
<br>
Memory Limits for Windows and Windows Server Releases<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx</a><br>
I learnt something new reading this article. For Win 8.1 64-bit, the
/3GB switch is not applicable or required. However the
/LARGEADDRESSAWARE linker option is critical for both 32-bit and
64-bit VMs. Its only the default setting that changes between compiling
32-bit or 64-bit applications. Some extracts...<br>
<br>
Limits on memory and address space depend on whether the
IMAGE_FILE_LARGE_ADDRESS_AWARE value of the LOADED_IMAGE structure and
4-gigabyte tuning (4GT) are in use. IMAGE_FILE_LARGE_ADDRESS_AWARE is
set or cleared by using the /LARGEADDRESSAWARE linker option.
4-gigabyte tuning (4GT), also known as application memory tuning, or
the /3GB switch, is a technology (**only applicable to 32 bit
systems**) that alters the amount of virtual address space available to
user mode applications. <br>
<br>
On x64-bit MS Windows, User-Mode virtual address space for each 32-bit
process <br>
4 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE set<br>
2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared (default)<br>
<br>
On x64-bit MS Windows, User-Mode virtual address space for each 64-bit
process <br>
8 TB With IMAGE_FILE_LARGE_ADDRESS_AWARE set (default):<br>
2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared<br>
<br>
cheers -ben<br>
<blockquote
cite="mid:CAC20JE1s8qPA54CLDsO=z9qxwCd0SUojz7iVMs6rgS1vvc8KrQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="HOEnZb">
<div class="h5">
<div>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"></div>
<div><br>
</div>
-- <br>
best,
<div>Eliot</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
best,
<div>Eliot</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>