Re: Size of Largest Array?

From: David Ham (D.A.Ham_at_CiTG.TUDelft.nl)
Date: 01/30/04


Date: 30 Jan 2004 19:54:53 +0100

rcl7820@owl.forestry.uga.edu (TLowe) writes:

> Hey Folks,
>
> Can anybody tell me the size of the largest array I can dimension?
> I am using Lahey FORTRAN 90. I was able to dimension and populate
> 4 arrays, each with 100,000,000 elements. When I added another, I
> received an error stating that the compiled executable was not a
> legal Win32 application.
>
> I get the idea that I can only use 2 gigs of memory. I have a machine
> with 6 gigs of memory (running Win 2000 Advanced Server). I want to
> use as much as possible. Can somebody fill me in if there is a switch
> I can use when compiling to let the program use more memory?
>

Sorry, not my platform so I can't directly help. However, might I ask
what you are putting in matrices that large? The reason I ask is that
many very large matrices are actually sparse (ie they have an awful
lot of zero entries) in which case there are storage mechanisms which
use a lot less memory and make processing much faster.

Regards,

David



Relevant Pages

  • RE: Three Dimensional Array Question
    ... The same is true for dynamic allocation of memory. ... I haven't gotten an array to index from a string variable, ... "Tornados" wrote: ... > often and for each row i want the third dimension to act...so: ...
    (microsoft.public.excel.misc)
  • out of memory with reasonables sizes
    ... I`m dealing with 'out of memory' problems at the moment, ... The array is allocated and filled ... call an m-file I wrote, which updates the probabilty array, I get a ... dimension or else. ...
    (comp.soft-sys.matlab)
  • Size of Largest Array?
    ... Can anybody tell me the size of the largest array I can dimension? ... I get the idea that I can only use 2 gigs of memory. ...
    (comp.lang.fortran)
  • Re: Question about 2D VB arrays
    ... "So if you want to have the same memory layout in both languages, ... more inefficient when accessing the array. ... same result (same memory layout) if you change the meaning of dimensions. ... you thought that the first dimension is a row and the second is a column, ...
    (microsoft.public.vb.general.discussion)
  • Re: Error on UBound with Dynamic Array
    ... ReDim Preserve arrSplit+ 1) ... is that arrSplit has not yet been dimmed as having any dimension. ... need to use a dynamic array and may be checking the boundries, ... Public Function Split(csvString As String) As Variant ...
    (microsoft.public.access.modulesdaovba)