Hi everyone.
I'd like to know if it's possible to obtain the size (in bytes), of an
instantiated object. I'm not actually sure if this is possible, but
basically, I am needing to create about 140,000 objects, which will be
kept in an array, and I need to try and find out just how much RAM it
will use.
In case you are wondering, the objects are quite small, but they need
to be searched through more than once to find possible solutions to a
mathmatical equation, where the input varies. I don't want to have to
create 140,000 objects each time the user wants to search, as to me
that just seems unproductive.
Can anyone point me in the right direction?
Many thanks.
Daz.