Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by DR00ME

"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

Posted

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 :-)

.nerd
Posted (edited)

lol

 

I think I have a BIG PROBLEM!

Edited by DR00ME

"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

Posted

this..

 

Store 76000 rgb combinations to 3 dimensional array....1 dimension is for R values... one for G and one for B.

"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

Posted
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...

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...