Re: a big limit of mathematica?



Dave Seaman wrote:

On Tue, 20 Sep 2005 09:31:47 -0700, Richard J. Fateman wrote:

(RJF) Mathematica's limitations are very likely related
to the amount of virtual memory it is allocated by
the operating system, and perhaps by the maximum
amount of memory Mathematica declares it is going to
use.  Such limits are much smaller than the 64 bit
limit on address space.  In particular,
doing


(DS) That's not the way virtual memory works, at least on any decent operating
system.

I thought we were talking about Windows?

The amount of virtual memory that is allocated to an application
by the operating system is determined dynamically and is limited only by
the total amount of swap space available on the computer.

There is a nice discussion here http://www.rsinc.com/services/techtip.asp?ttid=3346 which suggests that there are a number of other factors in Windows.


(DS) That means the G5 successfully computed an array that exceeds the size of its physical memory.

That's certainly the way it is supposed to work. The G5 is not running Windows.

I am using a Windows 2000 system right now, not XP, but I find
these instructions from the system help command ...

"To change the size of the virtual memory paging file

Open System in Control Panel.
On the Advanced tab, click Performance Options, and under Virtual memory, click Change.
In the Drive list, click the drive that contains the paging file you want to change.
Under Paging file size for selected drive, type a new paging file size in megabytes in the Initial size (MB) or Maximum size (MB) box, and then click Set.
If you decrease the size of either the minimum or maximum page file settings, you must restart your computer to see the effects of those changes. Increases typically do not require a restart...."


 So maybe LumisRob needs to change the virtual memory paging file.
Maybe he even needs to restart.  Or not.

Still, the response of Mathematica to an attempt to exceed
possible allocation of memory should be something other than
"You lose everything you computed so far."





.



Relevant Pages

  • Re: Strange behavior - paging file wont resize.
    ... Upon logging back in I notice the paging file is still the same size ... We all know that the page file minimum is 1.5 the amount of the RAM ... it in practice so it's certainly not universal for SP2 installations, ... Virtual Memory in Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: Strange behavior - paging file wont resize.
    ... Upon logging back in I notice the paging file is still the same size as ... We all know that the page file minimum is 1.5 the amount of the RAM ... I would recommend you read the article on Virtual Memory and setting the page file by the late Alex Nichol, ... I have not seen it in practice so it's certainly not universal for SP2 installations, but that doesn't mean there isn't something unique about your setup with SP2 and post SP2 updates causing this. ...
    (microsoft.public.windowsxp.general)
  • Re: Windows array allocation problem
    ... By "available virtual memory" I meant the amount that's actually available for use at the moment that the array allocation is made. ... Functions that report the total amount ...
    (comp.lang.fortran)
  • Re: Windows array allocation problem
    ... If I won't be able to allocate nearly all the available virtual memory, how can I determine in advance how much I *can* safely allocate? ... By "available virtual memory" I meant the amount that's actually available for use at the moment that the array allocation is made. ... My program has provision for approximately predicting the additional memory which will be used later in the program, and adjusts the allocation accordingly. ...
    (comp.lang.fortran)
  • Re: Virtual Memory Change on WinXP
    ... without knowing the amount of ram you have, ... I provide 1150 as a standard amount because ... reach the Virtual Memory section in my computer. ... Search to find System Properties, & it says to go to Control Panel, ...
    (microsoft.public.windowsxp.help_and_support)