By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,319 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

Why does process is still present although close?

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.