in reply to Re: memory use array vs ref to array
in thread memory use array vs ref to array
According to this article, Each array element consumes a minimum of 24 bytes. Your 4.5 Gigs of memory will accommodate a maximum of 185,834 elements.
Respectfully, I think you are out by a factor of 1000 (or 1024) here. Should it not be around 185 million elements?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: memory use array vs ref to array
by dkhosla1 (Sexton) on Sep 21, 2016 at 03:21 UTC |