LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 947
Default out of memory problem! what to do for large matrix operations?

Hi. Just an observation. My computer has 2 gigs of memory, and I get the
same "out of memory" error with this:

Dim m(1 To 7000, 1 To 7000) As Variant

When I switched it to Double, I was able to fill the array with numbers.

Dim m(1 To 7000, 1 To 7000) As Double

Don't know it that could help. Are you working with a Sparse array, where
most of the numbers are zero?
--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"MCM" wrote in message
oups.com...
hi guys,

I am trying to solve some big numerical problems with VBA excel code
but when the dimension of matrix reaches to a critical number, for
example 7000x7000, compiler gives
"out of memory" problem. what to do in this situation?

thanks.





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a matrix into one large column jeroen2 Excel Programming 3 January 26th 06 07:57 PM
Matrix Operations in VBA [email protected] Excel Programming 7 November 17th 05 02:07 PM
Matrix operations with complex numbers Veritas Excel Discussion (Misc queries) 1 July 22nd 05 06:30 PM
Matrix Operations (MInvert Function) Al[_16_] Excel Programming 1 November 23rd 04 07:29 PM
VBA for matrix operations Jules[_3_] Excel Programming 1 September 24th 03 02:14 AM


All times are GMT +1. The time now is 12:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"