+ Reply to Thread
Results 1 to 6 of 6

Out of Memory when i make array

  1. #1
    Registered User
    Join Date
    11-29-2008
    Location
    usa
    Posts
    11

    Out of Memory when i make array

    Trying to make a multidimensional array that is (672, 672, 672) big but excel keeps giving me an error about being out of memory. The .xlsm file is only 8 megs big. When i open windows taskmanager it shows excel using 131 megs of ram. Im using excel 2007 and my computer has 2 gigs of ram and i upped the virtual memory to 4 gigs. Taskmanager saids im only using 600 megs of ram. I still should have lots left. Any suggestions?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Out of Memory when i make array

    What is the data type of the array?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-29-2008
    Location
    usa
    Posts
    11

    Re: Out of Memory when i make array

    Ive tried both Long and Integer. Is there another one i should try?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Out of Memory when i make array

    Even as an Integer, it requires 606MB of RAM. I was unable to dimension an array larger than about 250MB on my laptop (2GB RAM).

  5. #5
    Registered User
    Join Date
    11-29-2008
    Location
    usa
    Posts
    11

    Re: Out of Memory when i make array

    Any idea if the limits will be raised in 2010 Office?

  6. #6
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Office 2003 / Office 2007
    Posts
    114

    Re: Out of Memory when i make array

    Perhaps there could be another way of doing whatever you are attempting to do? That array is huge.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1