473,804 Members | 2,265 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 5556
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
3282
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 Desktop_ application
2
3511
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
5065
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
5438
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 “System.Runtime.InteropServices.Marshal.ReleaseComObject(Object)” and making the object as null finally....
14
4867
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 designer. The other could be that you have more free hand and control to design your GUI. 2....
113
5325
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. The built-in SSL support is weak. Even basic sockets don't quite work right; the socket module...
19
4213
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
16171
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 execute the same code in release mode, the problem appears about 20% of the time. Here's the code:
7
2169
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 Excel process remains after exiting the sub (and until I exit the application) Sub Test1 Dim...
0
9714
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10346
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...
1
10347
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
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
9173
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
7635
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
6863
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
5531
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...
3
3001
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.