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

vb.net system tray app uses too much memory

P: n/a
dk
a very small system tray vb.net app built
using a vb.net component form goes up to
18K for memory usage in the task manager.

any idea why so much memory is being used for
a very small application?

explorer uses only 7.6k

tia,
dk

Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
any idea why so much memory is being used for
a very small application?
The framework takes some memory as well, especially during startup. If
your app works in the background most of the time, much of it will be
paged out eventually, so you shouldn't have to worry about consuming
too much physical memory.

explorer uses only 7.6k


Well, Explorer isn't a managed app and doesn't use Winforms.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 20 '05 #2

P: n/a
Explorer on my system uses 4.2 Megs of memory. 7.6K or 18K dont really seem so unreasonable.
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:eH*************@tk2msftngp13.phx.gbl...
any idea why so much memory is being used for
a very small application?


The framework takes some memory as well, especially during startup. If
your app works in the background most of the time, much of it will be
paged out eventually, so you shouldn't have to worry about consuming
too much physical memory.

explorer uses only 7.6k


Well, Explorer isn't a managed app and doesn't use Winforms.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.

Nov 20 '05 #3

P: n/a
Hi dk,

A small app might pack a powerful punch. Or it might just be a hog!!

I've just run a test app that contains several UserControls on a Form.
That 'only' takes up about 10M (I assume you meant M rather than K). So it
does suggest that there's something going on with your app.

Some questions

What does your app do?
Do you have any bitmaps floating around?
Do you create a Form that you then hide?
Is this figure used immediately or does it creep up to it gradually?

Regards,
Fergus
Nov 20 '05 #4

P: n/a
* "Rick Mogstad" <ri**@NOSPAM.computetosuit.com> scripsit:
Explorer on my system uses 4.2 Megs of memory. 7.6K or 18K dont really seem so unreasonable.


Explorer uses 27 MB on my system.

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

P: n/a
Hi Herfried,

Lol, perhaps you shouldn't store everything in just one folder. ;-))

Do you have Explorer in one process or several, I wonder. I have them
separate so I have a bunch of Explorers ranging from about 3 to 20.

Regards,
Fergus
Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.