473,383 Members | 1,843 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,383 software developers and data experts.

wmp com in c# application - reduce memory

Hi,
i have a small application setting in tray.
The main form is hidden but has a media player component on it which
plays a url link (radio tuner...).
Anyway, my application take about 35MB of ram.
Is there a way to reduce this.
the media player control has no visualtion on it, no control etc...

any ideas?

TIA,
GoRide

Dec 18 '06 #1
2 1784
GoRide,

What is the concern here and how do you know it is taking 35mb of ram?
Is this from Task Manager? If so, then your numbers are bad, as the Task
Manager does not indicate how much memory your application is consuming.

Also, is your application performing negatively? You are using the .NET
framework, which by default, for most any application, takes 10 MB, and then
you are using WMP, which, depending on what you are playing, could take up
much more memory.

I would determine if you really have a memory problem, and by that, I
don't mean, "this number ^looks^ too high". More like, is it negatively
impacting the machines it is installed on. If so, then look at the
performance counters to back it up.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"goRide" <Ti***********@gmail.comwrote in message
news:11**********************@f1g2000cwa.googlegro ups.com...
Hi,
i have a small application setting in tray.
The main form is hidden but has a media player component on it which
plays a url link (radio tuner...).
Anyway, my application take about 35MB of ram.
Is there a way to reduce this.
the media player control has no visualtion on it, no control etc...

any ideas?

TIA,
GoRide

Dec 18 '06 #2
Ok, thanks for the reply.
well, my pc is running with no problem and its seems there is no
performance problem.
You note the task manager does not expose the real memory usage. How
does can i check how much my application is consuming from physical
memory.
Anyway, my question was realy about reducing the amoung of memory an
application need to use in order loading and playing the media player
control...
Thanks. (and it does help :))
On Dec 18, 5:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
GoRide,

What is the concern here and how do you know it is taking 35mb of ram?
Is this from Task Manager? If so, then your numbers are bad, as the Task
Manager does not indicate how much memory your application is consuming.

Also, is your application performing negatively? You are using the .NET
framework, which by default, for most any application, takes 10 MB, and then
you are using WMP, which, depending on what you are playing, could take up
much more memory.

I would determine if you really have a memory problem, and by that, I
don't mean, "this number ^looks^ too high". More like, is it negatively
impacting the machines it is installed on. If so, then look at the
performance counters to back it up.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

"goRide" <Tidhar.Nit...@gmail.comwrote in messagenews:11**********************@f1g2000cwa.go oglegroups.com...
Hi,
i have a small application setting in tray.
The main form is hidden but has a media player component on it which
plays a url link (radio tuner...).
Anyway, my application take about 35MB of ram.
Is there a way to reduce this.
the media player control has no visualtion on it, no control etc...
any ideas?
TIA,
GoRide- Hide quoted text -- Show quoted text -
Dec 18 '06 #3

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

Similar topics

226
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type...
0
by: Reg | last post by:
Hello, I have a console application (in VB.net) who collects informations to record them in a file. If I reduce the application, it uses much less memory (300 Mo --> 8 Mo) Then it continues to...
2
by: assi | last post by:
Hello all We are developing a large dotnet application, which includes ~ 120 assemblies. (total size of all binaries is ~ 20MB). Our application also references the following dotnet assemblies:...
1
by: picard | last post by:
I have seen in various posts that there are tricks to increasing the largest continuous memory block available to an application on a windows machine. I want to prove this is possible using a...
1
by: Arie | last post by:
The question is: I would like to know how to reduce my dot.net application memory usage, I have already tried to the SetProcessWorkingSetSize method with reduced the memory in 7MB, but that’s...
1
by: John Batdorf | last post by:
I've created a win32 forms application to run outside of a user's view. It creates an incon in the system tray, and monitors a mail server for a certain message (internal application for the...
3
by: Ricardo Q.G. | last post by:
in production environment we started to have a memory consumption problem at "asp.net wp". after a hard work we have discovered that Session.Abandon() does not reduce references to objects added to...
4
by: objectref | last post by:
Hi, i found on the net something that it has to do with the large working set of a .net application, describing the process of the CLR loading and all this stuff. It seems that every time CLR...
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.