Re: a big limit of mathematica?



On 12 Sep 2005 11:52:08 -0700, "Daniel Lichtblau" <danl@xxxxxxxxxxx>
wrote:

>

>
>In[2]:= test[8]
>5
>{0.001, 0, 0, 0.001}
>6
>{0.011998, 0, 0, 0.020997}
>7
>{0.088987, 0, 0, 0.125981}
>8
>{0.679896, 0, 0, 1.12283}
>
>This reevaluation semantics used in Mathematica is admittedly not
>always optimal. But it is also, in this example, not so bad as one
>might guess based only on knowing the first time behavior.
>
>Daniel Lichtblau
>Wolfram Research

Ok I have understood this concept
This behavior is predictable knowing as mathematica kernel is
implemented

The true problem is:

is it possible to foresee in advance having a computer,
an OS (32 or 64 Bit) and Mathematica(32 or 64 Bit) which dimensions of
a determined problem I succeed in resolving?
With Matlab or Maple or C I have always succeeded in banal way in
making this calculation (I work on problems treated with Finite
Element method).
With Mathematica no and anybody me ago a practical example

For instance because he doesn't succeed in calculating

m = Table[(i - j) + 3./j^4 + 50*i, {i, 1, 10^5}, {j, 1, 10^5}];
m[[1]].m[[1]]

ByteCount[1.0]=16

if I go to calculate this matrix

logic would like 10^5 * 10^5 *16 Bytes * 10^-9 = 160 GB


This problem on my hardware is interrupted for lack of memory (as
usual).
With Matlab or Maple on Same Hardware it is resolved (Ok!! with
exasperated slowness..... but they resolve )


Matlab (or a compiled program) performs this calculation because, I
beklieve, the data that have to contemporarily enter
the memory don't exceed the available Ram and the Virtual memory
handles the rest

Because nobody responds to this question?
is it perhaps the error that I commit so banal not to even receive an
answer?

Cheers

Roberto



.



Relevant Pages

  • Re: a big limit of mathematica?
    ... One is that most 32 bit Mathematica platforms have a 2 ... Just for this motive I have not marveled when the calculation is ... > The determinant computation will require at ... >upshot is it is not hard to see memory being an issue. ...
    (sci.math.symbolic)
  • Re: Memory Problem after several LOADs
    ... memory and must restart Matlab to continue. ... the results of each calculation in a MAT file. ... Each MAT file is 5-10MB. ...
    (comp.soft-sys.matlab)
  • Re: a big limit of mathematica?
    ... >> Just for this motive I have not marveled when the calculation is ... Mathematica 5.2 from you distributed in version try has limitations? ... How do I do to know if the installation of Mathematica 5.2 on Win XP ... >in any way other than to run out of memory. ...
    (sci.math.symbolic)
  • Re: Mathematica. A big limit of mathematica !!!???
    ... > Mathematica kernel has shut down. ... m will require at least several Gigabyte memory. ... Probably not since Mathematica already ... > scandalized me if in such problems the time of calculation lengthens ...
    (sci.math.num-analysis)
  • Re: Wishlist for R2007b
    ... drive can be used for up to 50 GB of virtual memory. ... Let matlab open memory-mapped fileto use as "last ... calculation I'd like to quickly kill (sometimes even ... With multiple figure windows ...
    (comp.soft-sys.matlab)