473,513 Members | 10,313 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resource File Out of Memory Exception

Hello!

I am working on a project that requires the inclusion of an access database
in a resource file. (VB.NET).
It works OK when the db file size is under 200 MB but creates an OutOfMemory
Exception if the db size is larger say 300 MB or 500 MB.
The error happens while generating the resource file.
What can I do to prevent this error from occurring other than increase the
physical RAM in my machine?
Can someone please help?
Thanks
M

Oct 24 '05 #1
2 1935
actually i had such a problem before, and i solve it by increasing the
physical Ram
the point here we donot have a full control on the date base size as i
understand from your question. if yes then there is no more choiches sorry
for that :)
--
PLEASE DO NOT FORGET TO RATE THE ANSWER
happy coding
Muhanad YOUNIS
MCSD.NET
"Mark" wrote:
Hello!

I am working on a project that requires the inclusion of an access database
in a resource file. (VB.NET).
It works OK when the db file size is under 200 MB but creates an OutOfMemory
Exception if the db size is larger say 300 MB or 500 MB.
The error happens while generating the resource file.
What can I do to prevent this error from occurring other than increase the
physical RAM in my machine?
Can someone please help?
Thanks
M

Oct 24 '05 #2
Since the resource file is taking up all the memory space and causing the
exception
can anyone suggest a better way to do this: that is without using a resource
file...
I am completely lost.
Mark

"mos2128" wrote:
actually i had such a problem before, and i solve it by increasing the
physical Ram
the point here we donot have a full control on the date base size as i
understand from your question. if yes then there is no more choiches sorry
for that :)
--
PLEASE DO NOT FORGET TO RATE THE ANSWER
happy coding
Muhanad YOUNIS
MCSD.NET
"Mark" wrote:
Hello!

I am working on a project that requires the inclusion of an access database
in a resource file. (VB.NET).
It works OK when the db file size is under 200 MB but creates an OutOfMemory
Exception if the db size is larger say 300 MB or 500 MB.
The error happens while generating the resource file.
What can I do to prevent this error from occurring other than increase the
physical RAM in my machine?
Can someone please help?
Thanks
M

Oct 24 '05 #3

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

Similar topics

0
1853
by: Steve Binney | last post by:
My code makes synchronous HttpWebRequest and HttpRebResponse calls. In VS 2003, I am getting memory leaks and event handle leaks. I am closing all streams and using "using"statements. I have...
11
1533
by: yang su | last post by:
I have a very simple program listed below, which basically tries to use resources but prevent from memory leak should exception occurs. class T is the resource and class User is to use the...
6
2623
by: martin | last post by:
Hi, I have noticed that every aspx page that I created (and ascx file) has an assosiated resource file aspx.resx. However what I would like to do is have a single global resource file for the...
2
402
by: Mark | last post by:
Hello! I am working on a project that requires the inclusion of an access database in a resource file. (VB.NET). It works OK when the db file size is under 200 MB but creates an OutOfMemory...
1
2101
by: Chukkalove | last post by:
I originally created several "copy" resource reader classes which worked great individually, but after I converted them into an parent class with children they no longer find the resources. Each...
4
1107
by: Jacob.Bruxer | last post by:
Hi, I'm pretty new to Visual Basic and was wondering if anyone could give some general advise on how to conserve memory when running a Visual Basic program that I've created. I keep getting a...
5
2747
by: Daniel | last post by:
Hey guys When you hook an event (c# 2.0 syntax): myEvent += MyMethodToFire; You need to also unsubscribe it to avoid a resource leak so that the object it is in gets garbage collected like so...
12
5242
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
8
14915
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
7153
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
7373
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
7432
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...
1
7094
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
7519
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...
0
5677
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,...
0
3230
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...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
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...

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.