Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why can't I create new Vector3[1024*1024*1024] ?

Discussion in 'Scripting' started by todoned, Apr 10, 2017.

  1. todoned

    todoned

    Joined:
    Apr 10, 2017
    Posts:
    2
    I'm trying to evaluate Unity for use in visualizing large datasets. I have a machine with 32GB of RAM, and 11GB on GPU. A trivial attempt to create a large vector (1024x1024x1024) fails. If each single precision float in the Vector3 is 4 bytes, my vector would consume 12GB and should even fit in RAM.
     
  2. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,513