Re: No Memory Available
- To: mathgroup at smc.vnet.net
- Subject: [mg91337] Re: No Memory Available
- From: "Jean-Marc Gulliet" <jeanmarc.gulliet at gmail.com>
- Date: Sat, 16 Aug 2008 05:54:22 -0400 (EDT)
- References: <firstname.lastname@example.org> <48A575E7.email@example.com>
On Fri, Aug 15, 2008 at 2:43 PM, Adel Elsabbagh wrote:
> I have an Intel Core 2 Duo processor (2.66GHz), with 3GB ram. OS is 32 bit
> windows XP Pro.
> I am using Mathematica 6.0
[... Cross posted to MathGroup ...]
OK. AFAIK, the default/standard system configuration of Windows XP
Professional 32-bit edition allows only 2 GB of memory per user
process, i.e. each individual user/application process will not be
allowed by the operating system to request memory over this 2 GB
limit, even though the theoretical limit is 4 GB on a 32-bit system.
Now, there exist two switches for this version of Windows that allows
the system to allocate up to 3 GB per user process. See the following
articles [1, 2] to get detailed explanations and directions about how
to use them:
"On 32-bit versions of Windows, the /3GB parameter enables 4-gigabyte
(GB) random access memory (RAM) Tuning, a feature that enlarges the
user-mode virtual address space to 3 GB and restricts the kernel-mode
components to the remaining 1 GB. "
Alone and/or combine with $HistoryLength=0 and ClearSystemCache,
this might solve your memory issue.
 "A description of the 4 GB RAM Tuning feature and the Physical
Address Extension parameter",
 "Memory Management - Demystifying /3GB"
> Kind regards,
> On Fri, Aug 15, 2008 at 8:26 AM, Jean-Marc Gulliet wrote:
>> Adel Elsabbagh wrote:
>>> I am using NDSolve to do integration in time for 24 variables. I can
>>> only to do the integration for a short time range, otherwise I get the
>>> No more memory available.
>>> Mathematica kernel has shut down.
>>> Try quitting other applications and then retry.
>>> Is there a way I can increase the allocated memory even virtually, or may
>> Though you did not tell us, I believe you are using a 32-bit system, which
>> mean that depending on the combination of hardware and operating system, a
>> user process can get between 2 and about 3 GB of virtual memory maximum.
>> This is hardware (Intel, AMD, PowerPC, Sparc, ...)/operating system (Linux,
>> UNIX, MAC OS X, Windows 98/Me/XP/Vista/Server2003...) dependent.
>>> tell Mathematica to wipe the memory out during the run?
>> ClearSystemCache["Numeric"] or ClearSystemCache might help reclaiming
>> some memory (assuming you are using version 6.x.x).
>> Anyway, it is really hard to be specific without any hint about your
>> hardware, software, and the system you are trying to solve.
Prev by Date:
Re: Another Out of Memory Problem
Next by Date:
Locate palette at top edge of screen?
Previous by thread:
Re: No Memory Available
Next by thread: