DR00ME Posted February 13, 2004 Posted February 13, 2004 (edited) Dim ABC(76240, 76240, 76240) As Byte so any suggestions ? is the processor cache limit ? im getting system.outofmemoryexception when it try to reserve memory for this array... Do I have to cut it in pieces.... ? Edited February 13, 2004 by DR00ME Quote "Everything should be made as simple as possible, but not simpler." "It's not that I'm so smart , it's just that I stay with problems longer ." - Albert Einstein
Heiko Posted February 13, 2004 Posted February 13, 2004 You are requesting 4429153651200 (76240 ^^ 3) bytes. That is 4325345362 KB. That is 4223970 MB. That is 4124 GB You are requesting approx 4 TeraByte of memory. Thats a lot of stuff, even for a virtual memory system :-) Quote .nerd
DR00ME Posted February 13, 2004 Author Posted February 13, 2004 (edited) lol I think I have a BIG PROBLEM! Edited February 13, 2004 by DR00ME Quote "Everything should be made as simple as possible, but not simpler." "It's not that I'm so smart , it's just that I stay with problems longer ." - Albert Einstein
*Experts* Volte Posted February 13, 2004 *Experts* Posted February 13, 2004 .... What exactly are you trying to do? Quote
DR00ME Posted February 13, 2004 Author Posted February 13, 2004 this.. Store 76000 rgb combinations to 3 dimensional array....1 dimension is for R values... one for G and one for B. Quote "Everything should be made as simple as possible, but not simpler." "It's not that I'm so smart , it's just that I stay with problems longer ." - Albert Einstein
DR00ME Posted February 13, 2004 Author Posted February 13, 2004 problem solved.... seems like multidimensional arrays take more memory than 3 separate arrays(well you put em together it makes 3 dimension) ... ... im confused... anyway... Quote "Everything should be made as simple as possible, but not simpler." "It's not that I'm so smart , it's just that I stay with problems longer ." - Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.