473,405 Members | 2,176 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,405 software developers and data experts.

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 5537
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
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.comwrote:
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
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.comwrote:
On Aug 5, 9:43 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
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
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...
2
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:...
13
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
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...
14
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...
113
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...
19
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...
4
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...
7
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. ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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,...

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.