473,395 Members | 1,474 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,395 software developers and data experts.

resourses release problem

Hi,
I've an application (VB.NET version 2002, ms-access 2002) composed of an MDI
parent (menus) and some MDI childs.
When the DB start to be important (100 MB) i've started having some memory
problems.

I noticed (in task manager) that when I open an MDI child form, and I close
it the memory isn't released... do I have to do some specific thing to
release the memory space that the form was occupating?

Thanks.
Feb 28 '07 #1
3 895
Do you "dispose" the child mdi form as well when you close it?

-Not sure if that would help or not.

M.

"touf" <to****@hotmail.comwrote in message
news:eQ**************@TK2MSFTNGP04.phx.gbl...
Hi,
I've an application (VB.NET version 2002, ms-access 2002) composed of an
MDI parent (menus) and some MDI childs.
When the DB start to be important (100 MB) i've started having some memory
problems.

I noticed (in task manager) that when I open an MDI child form, and I
close it the memory isn't released... do I have to do some specific thing
to release the memory space that the form was occupating?

Thanks.

Feb 28 '07 #2
On Feb 28, 11:09 am, "touf" <tou...@hotmail.comwrote:
Hi,
I've an application (VB.NET version 2002, ms-access 2002) composed of an MDI
parent (menus) and some MDI childs.
When the DB start to be important (100 MB) i've started having some memory
problems.

I noticed (in task manager) that when I open an MDI child form, and I close
it the memory isn't released... do I have to do some specific thing to
release the memory space that the form was occupating?

Thanks.
Hi,

You don't need to anything other than stop using (referencing) the
object. The garbage collector will handle the rest. You may not see
the memory usage go down in task manager because the memory may not be
released to the OS.

Brian
Feb 28 '07 #3
Just fyi, in regards to this:
When the DB start to be important (100 MB) i've started having some
memory problems.
This is not likely to be causing your problems, if you mean that the
database size on the disk is 100MB. This is not an overly large Access
database. I used to support one that was 700MB with not performance issues.

Robin S.
--------------------------------------
"touf" <to****@hotmail.comwrote in message
news:eQ**************@TK2MSFTNGP04.phx.gbl...
Hi,
I've an application (VB.NET version 2002, ms-access 2002) composed of an
MDI parent (menus) and some MDI childs.
When the DB start to be important (100 MB) i've started having some
memory problems.

I noticed (in task manager) that when I open an MDI child form, and I
close it the memory isn't released... do I have to do some specific thing
to release the memory space that the form was occupating?

Thanks.

Feb 28 '07 #4

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

Similar topics

10
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install...
4
by: Saurabh Aggrawal | last post by:
Hi, I have made a dll and it is working fine in the debug build (as expected) but when I run it in the release build it is working strangely. For example, the dll saves the 10 properties on the...
5
by: pepwelcome | last post by:
I tried httpMoudle, and it seems it worked under VS.net 2005, but failed when I tried "http://localhost/", but I think an HTTP request for an image on my server is not processed by asp.net but is...
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm announcing the release of Python 2.3.6 (release candidate 1). Python 2.3.6 is a security bug-fix release. While Python 2.5...
2
by: zafar | last post by:
hi, I added a *.wav file in project resourses, but how can I access that file, actually I want to play a sound, the method i am using for this is my.computer.audio.play(path, -- ) . This method...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
5
by: Jonas Hallgren | last post by:
Hello, Is there any general tips on how to solve this problem: my Debug version runs fine but when I do a Release version I get error messages!? I'm hoping it is a simple option somewhere or...
7
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I...
0
by: =?Utf-8?B?SmVmLnB0Yw==?= | last post by:
Hi, I am currently facing exactly the same issue with Visual Studio 2005. Did you find a way to solve this problem ? "AntonioSACE" wrote:
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...

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.