Maximum object size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

At some time in the distant past I had an insufficient memory problem that
resulted as an artifact of there being a maximum allowable size for any
single object in Windows. In the case that I recall, I had an array that
exceeded the threshold. I still had plenty of physical memory available.

I cannot remember what that threshold was and I am hoping someone knows
where I can find it on the Microsoft/MSDN site(s).
 
To be honest, if you are hitting the limit then your design possibly
needs addressing? And *perhaps* .NET isn't the best choice for
something that memory aggressive? Not only is maximum size an issue,
but obtaining a huge slice of *contiguous* space for such a behemoth
will be an issue under *any* architecture. If this is a huge arary or
similar, you could perhaps synthesize by using a list of arrays (or a
jagged array, whichever is more suitable). Or use a file buffer; that
is what they are good at...

Marc
 
Thanks Marc

I am still hoping to find the citation concerning the maximum object size. I
have done the usual searches and cannot find it. But I know I did find it
once either in VS help or - more likely - on Microsoft's site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top