473,573 Members | 3,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why does process is still present although close?

I made a very small (2 forms) application with VB.NET 2005 express and
second form contains web-browser component and flash movie inside it.
Everything OK but after i close the program via normal (from X from
top right), the .exe process of my application is still in memory and
visible in "Windows Task Manager" costing 60MB memory!!!

The debugged application is only 32kb but it costs 60MB from memory
which also does NOT kill itself despite i close after usage....

Why? What are the reasons of not to be killed application .exe
automatically after close for a project developed under VB.NET? Vb.NET
bug?

Thank you.

Aug 5 '07 #1
5 5545
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
I made a very small (2 forms) application with VB.NET 2005 express and
second form contains web-browser component and flash movie inside it.
Everything OK but after i close the program via normal (from X from
top right), the .exe process of my application is still in memory and
visible in "Windows Task Manager" costing 60MB memory!!!

The debugged application is only 32kb but it costs 60MB from memory
which also does NOT kill itself despite i close after usage....

Why? What are the reasons of not to be killed application .exe
automatically after close for a project developed under VB.NET? Vb.NET
bug?

Thank you.
Tried with another app which has 2 forms as same and the second form
is empty (no web-browser components, flash or any...) still process is
present in memory in task manager although i close it. It started to
think it's a vb.net bug?

Could you test or specify the reasons of non-killing automatically
applications?

Everytime i had to kill process manually by doing ctrl-alt-del to
fresh memory...

Aug 5 '07 #2
On Aug 5, 9:58 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
I made a very small (2 forms) application with VB.NET 2005 express and
second form contains web-browser component and flash movie inside it.
Everything OK but after i close the program via normal (from X from
top right), the .exe process of my application is still in memory and
visible in "Windows Task Manager" costing 60MB memory!!!
The debugged application is only 32kb but it costs 60MB from memory
which also does NOT kill itself despite i close after usage....
Why? What are the reasons of not to be killed application .exe
automatically after close for a project developed under VB.NET? Vb.NET
bug?
Thank you.

Tried with another app which has 2 forms as same and the second form
is empty (no web-browser components, flash or any...) still process is
present in memory in task manager although i close it. It started to
think it's a vb.net bug?

Could you test or specify the reasons of non-killing automatically
applications?

Everytime i had to kill process manually by doing ctrl-alt-del to
fresh memory...
Updated: I found what the problem was: "Hide" statement. If i use Hide
statement, although i close the program completely, it still appears
in Task Manager, but if i don't use Hide statement for a form, no
problem.

But the persistant and hopeless problem is gigantic memory usage just
for 32kb little app which costs 60MB! I don't know whether it's
releted to .NET or framework but definetely terrible...

Why does small projects cause gigantic memory usages?

Aug 5 '07 #3
Hi I am suffering the same problem, see post ablove "Program still
running after close", I am assuming this is a bug now and not something
I have forgotten to include in the program.

--
Dave Griffiths
kimiraikkonen wrote:
I made a very small (2 forms) application with VB.NET 2005 express and
second form contains web-browser component and flash movie inside it.
Everything OK but after i close the program via normal (from X from
top right), the .exe process of my application is still in memory and
visible in "Windows Task Manager" costing 60MB memory!!!

The debugged application is only 32kb but it costs 60MB from memory
which also does NOT kill itself despite i close after usage....

Why? What are the reasons of not to be killed application .exe
automatically after close for a project developed under VB.NET? Vb.NET
bug?

Thank you.
Aug 5 '07 #4
Hi.

I do not use the hide staement in my app yet I still get the same
behaviour.

The 60Mb looks very high, mine is 32K on disk and between 4 and 5 Mb in
memory.

--
Dave Griffiths
kimiraikkonen wrote:
On Aug 5, 9:58 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
I made a very small (2 forms) application with VB.NET 2005
express and second form contains web-browser component and flash
movie inside it. Everything OK but after i close the program via
normal (from X from top right), the .exe process of my
application is still in memory and visible in "Windows Task
Manager" costing 60MB memory!!!
The debugged application is only 32kb but it costs 60MB from
memory which also does NOT kill itself despite i close after
usage....
Why? What are the reasons of not to be killed application .exe
automatically after close for a project developed under VB.NET?
Vb.NET bug?
Thank you.
Tried with another app which has 2 forms as same and the second form
is empty (no web-browser components, flash or any...) still process
is present in memory in task manager although i close it. It
started to think it's a vb.net bug?

Could you test or specify the reasons of non-killing automatically
applications?

Everytime i had to kill process manually by doing ctrl-alt-del to
fresh memory...

Updated: I found what the problem was: "Hide" statement. If i use Hide
statement, although i close the program completely, it still appears
in Task Manager, but if i don't use Hide statement for a form, no
problem.

But the persistant and hopeless problem is gigantic memory usage just
for 32kb little app which costs 60MB! I don't know whether it's
releted to .NET or framework but definetely terrible...

Why does small projects cause gigantic memory usages?
Aug 5 '07 #5
kimiraikkonen wrote:
Updated: I found what the problem was: "Hide" statement. If i use Hide
statement, although i close the program completely, it still appears
in Task Manager, but if i don't use Hide statement for a form, no
problem.
I assume that you hid your start form and opened the second form. Then
closing the second form will not close the first form, it just stays
hidden. The program does exactly what you told it to, it's not the fault
of the programming language that you didn't provide a way to get back to
the first form. :)
But the persistant and hopeless problem is gigantic memory usage just
for 32kb little app which costs 60MB! I don't know whether it's
releted to .NET or framework but definetely terrible...

Why does small projects cause gigantic memory usages?
As you are using a web browser component and flash, I'm not that
surprised that it uses a lot of memory. Start up Internet Explorer, and
watch it use 20-30 MB before even browsing anywhere.

--
Göran Andersson
_____
http://www.guffa.com
Aug 5 '07 #6

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

Similar topics

2
3262
by: zapazap | last post by:
Dear Snake Charming Gurus, (Was: http://mail.python.org/pipermail/python-list/2004-January/204454.html) First, a thank you to Tim Golden, Thomas Heller, and Mark Hammond for your earlier help with this problem. I am uncertain about what etiquette calls for, but more on that later. My Objective: I am trying to control the _VMWare...
2
3496
by: Steven T. Hatton | last post by:
I'm still not completely sure what's going on with C++ I/O regarding the extractors and inserters. The following document seems a bit inconsistent: http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#1 Copying a file: WRONG WAY: #include <fstream> std::ifstream IN ("input_file"); std::ofstream OUT ("output_file");
13
5024
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
2
5425
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been recommended by many for web applications. I create the instances of Excel, Workbook and the worksheet. And later on Release the references by...
14
4825
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it can be done using the designer but I intentionally don't want to use that. The one reason is that you cannot change the code generated by the...
113
5211
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside the Python world, you're fine. But once you do, things go downhill. MySQLdb has version and platform compatibility problems. So does M2Crypto. ...
19
4172
by: Angus | last post by:
I have a socket class CTestClientSocket which I am using to simulate load testing. I create multiple instances of the client like this: for (int i = 0; i < 5; i++) { CTestClientSocket* pTemp = new CTestClientSocket(this, ip, port); pTemp->Connect(); m_collClients.push_back(pTemp);
4
16066
by: O.B. | last post by:
I have a socket configured as TCP and running as a listener. When I close socket, it doesn't always free up the port immediately. Even when no connections have been made to it. So when I open the socket again, the bind fails because the port is still in use. When I execute the code in "debug" mode, the problem never occurs. When I...
7
2157
by: =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post by:
I have a vb.net app that opens an excel worksheet, reads data and then closes the sheet. Im noticing that the Excel process is still running after I have closed and disposed of my excel objects. The following code (Test1) demonstrates the essence of what I am doing. When I check the processes while ruinning the method, I notice that the...
0
7741
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7977
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7730
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8026
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...
1
5550
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...
0
3692
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...
0
3686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2163
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
984
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...

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.