473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Maximum object size

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

Sep 13 '07 #1
3 3163
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

Sep 13 '07 #2
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.
Sep 13 '07 #3
Looks like I found a modern version of what I saw before:

http://msdn2.microsoft.com/en-us/lib...64(VS.80).aspx

Thanks again
Sep 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Chris Brew | last post by:
I've just been writing some code to merge items from a collection of streams, where each item has a key, and each stream is known to be sorted in ascending order of key. I read all the streams...
19
by: Jerry | last post by:
I am wondering what is the maximum size of memory that malloc() could handle. Is there any limitation on that? Where am I supposed to get this kind of information? Thank you everybody.
0
by: Lokanathan | last post by:
How to set Richtextbox Maximum Byte Size?
4
by: Gregory Hassett | last post by:
Hello, Does anyone know how to get the maximum size of a datagram for a UDP Socket created via .NET's System.Net.Sockets.Socket class? Thanks!
4
by: Bei | last post by:
I would like to allow more connection to SQL servers from the web application. Do you know what is the code to set maximum pool size in web.config file? Thanks
2
by: Bei | last post by:
In web.config, will there be an issue if I set the maximum pool size to be too large, like 1000? I see normally people set it to 100 or less. But I want to make sure there will be no error like...
2
by: ari | last post by:
Hi! Normally Google helps a lot with these simple questions, but now I cannot get correct search words. So I try here: I have db2 udb 8.1 fix pack 6, and it is on windows 2003 server. -...
1
by: sundar261 | last post by:
Hi, I am using ifstream open() to open an greater than 5GB file (more 100 million record) and open() fails to open the file. But I am able to open smaller sized files (around 1GB) with the same...
2
by: skyy | last post by:
Hi.. i am doing some uploading of files using CGI with perl script.. the $CGI::POST_MAX is used to limit the maximum size of the upload file. Did anyone know what is the maximum size that i can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.