473,765 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3176
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
1816
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 once, then pick the minimum element of the results, replace it with a new one read from the corresponding stream, and repeat. Thing is, what happens at end of file? I'd like to do it by making the streams that are finished
19
26751
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
341
by: Lokanathan | last post by:
How to set Richtextbox Maximum Byte Size?
4
33758
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
54988
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
4588
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 "all pooled connections were in use", so I decided to make the maximum so large that it will never be reached. Do you think it's OK, no drawback? Thanks
2
2751
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. - what is the maximum table space size? 64GB? - what is the maximum container size for tablespace?
1
2808
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 program What is maximum file size that I can open. Is it dependent on number of records or file size in bytes? What is the best way to open big files?? Do we have any compiler
2
5273
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 set for $CGI::POST_MAX? and thus the maximum upload size for file upload... Thanks!
0
9399
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8832
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.