PC Review


Reply
Thread Tools Rate Thread

How to keep memory usage and CPU as low as possible?

 
 
DraguVaso
Guest
Posts: n/a
 
      6th Sep 2005
Hi,

How can I keep the memory usage and CPU usageas low as possible in a VB.NET
application? any special techniques, any things to consider?

Thanks a lot in advance,

Pieter


 
Reply With Quote
 
 
 
 
Alvin Bruney - ASP.NET MVP
Guest
Posts: n/a
 
      6th Sep 2005
why is the posted to every newsgroup you can find?
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"DraguVaso" <(E-Mail Removed)> wrote in message
news:O$(E-Mail Removed)...
> Hi,
>
> How can I keep the memory usage and CPU usageas low as possible in a

VB.NET
> application? any special techniques, any things to consider?
>
> Thanks a lot in advance,
>
> Pieter
>
>



 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      6th Sep 2005
Pieter,

This forever isnot nothing (it seems that this is very good US English for
what we write as "is iets") that mostly conflict with each other.

By instance very good OOP will decrease memory usage, however using OOP
increases processor usage.

Just my idea

Cor


 
Reply With Quote
 
DraguVaso
Guest
Posts: n/a
 
      6th Sep 2005
Do you mean that in your opinion I should post my question to every
newsgroup I can find?

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:%(E-Mail Removed)...
> why is the posted to every newsgroup you can find?
> --
> Regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> The Microsoft Office Web Components Black Book with .NET
> Now Available @ www.lulu.com/owc
> Forth-coming VSTO.NET - Wrox/Wiley 2006
> -------------------------------------------------------
>
>
>
> "DraguVaso" <(E-Mail Removed)> wrote in message
> news:O$(E-Mail Removed)...
> > Hi,
> >
> > How can I keep the memory usage and CPU usageas low as possible in a

> VB.NET
> > application? any special techniques, any things to consider?
> >
> > Thanks a lot in advance,
> >
> > Pieter
> >
> >

>
>



 
Reply With Quote
 
Brian Henry
Guest
Posts: n/a
 
      6th Sep 2005
research Big-O notation... if you can understand that concept then you can
understand why CPU usage jumps and execution time takes long as it does


"DraguVaso" <(E-Mail Removed)> wrote in message
news:O$(E-Mail Removed)...
> Hi,
>
> How can I keep the memory usage and CPU usageas low as possible in a
> VB.NET
> application? any special techniques, any things to consider?
>
> Thanks a lot in advance,
>
> Pieter
>
>



 
Reply With Quote
 
Alvin Bruney - ASP.NET MVP
Guest
Posts: n/a
 
      6th Sep 2005
> Do you mean that in your opinion I should post my question to every
> newsgroup I can find?

Is that your interpretation of humor?

The simple reason is that when you cross post like that you clutter the
newsgroups and make it difficult for users, who genuinely want to find
information, from finding it since there will be a lot of *noise posts like
yours. At best, I can see that your question relates to the
microsoft.public.dotnet.framework.performance newsgroup. Many people in here
read several, several newsgroups and aside from this being unproductivity,
it is really a waste of time. For instance, I could have spent the time
actually answering your post instead of complaining about it.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"DraguVaso" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Do you mean that in your opinion I should post my question to every
> newsgroup I can find?
>
> "Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
> news:%(E-Mail Removed)...
> > why is the posted to every newsgroup you can find?
> > --
> > Regards,
> > Alvin Bruney [MVP ASP.NET]
> >
> > [Shameless Author plug]
> > The Microsoft Office Web Components Black Book with .NET
> > Now Available @ www.lulu.com/owc
> > Forth-coming VSTO.NET - Wrox/Wiley 2006
> > -------------------------------------------------------
> >
> >
> >
> > "DraguVaso" <(E-Mail Removed)> wrote in message
> > news:O$(E-Mail Removed)...
> > > Hi,
> > >
> > > How can I keep the memory usage and CPU usageas low as possible in a

> > VB.NET
> > > application? any special techniques, any things to consider?
> > >
> > > Thanks a lot in advance,
> > >
> > > Pieter
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
DraguVaso
Guest
Posts: n/a
 
      7th Sep 2005
Ok, this is a bit off-topic, but just a quick explanation.

I understand your point of view, but:
- Just posting to one newsgroup isn't always an option in my opinion. I post
a question to a newsgroup to reach people who might know the answer. When
posting to only framework.performance-group (which is a small end really
specific newsgroup and not read by a lot of people) I dramaticly reduce the
number of people that I can reach with my question.
- Instead: posting to newsgroups that are related to the subject will
increase the number of people I reacht that might knwo the answer. It's
about specific parts of the framework (dotnet.framework), of a Windows Forms
application (windowsforms), in VB.NET (languages.vb), but if somebody knows
the answer for C# or another language it might work for VB.NET too
(dotnet.general).
- I don't think that people who want to find an answer to their problem are
reading all the thousands of messages in newsgroup. I guess they can get a
better performance when using google to search in them.
- My apologize: but I didn't force you to complain, so it's only your
responsibility that you spend your time complaining insteadof answering.
actually, I really would have appreciated mutch more if you would have
answered. That's the purpose of newsgroups in my opinion.

Once againg: This is just my humble opinion, and I respect any other opinion
about this subject.

kind regards,

Pieter


"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:(E-Mail Removed)...
> > Do you mean that in your opinion I should post my question to every
> > newsgroup I can find?

> Is that your interpretation of humor?
>
> The simple reason is that when you cross post like that you clutter the
> newsgroups and make it difficult for users, who genuinely want to find
> information, from finding it since there will be a lot of *noise posts

like
> yours. At best, I can see that your question relates to the
> microsoft.public.dotnet.framework.performance newsgroup. Many people in

here
> read several, several newsgroups and aside from this being unproductivity,
> it is really a waste of time. For instance, I could have spent the time
> actually answering your post instead of complaining about it.
>
> --
> Regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> The Microsoft Office Web Components Black Book with .NET
> Now Available @ www.lulu.com/owc
> Forth-coming VSTO.NET - Wrox/Wiley 2006
> -------------------------------------------------------
>
>
>
> "DraguVaso" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Do you mean that in your opinion I should post my question to every
> > newsgroup I can find?
> >
> > "Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
> > news:%(E-Mail Removed)...
> > > why is the posted to every newsgroup you can find?
> > > --
> > > Regards,
> > > Alvin Bruney [MVP ASP.NET]
> > >
> > > [Shameless Author plug]
> > > The Microsoft Office Web Components Black Book with .NET
> > > Now Available @ www.lulu.com/owc
> > > Forth-coming VSTO.NET - Wrox/Wiley 2006
> > > -------------------------------------------------------
> > >
> > >
> > >
> > > "DraguVaso" <(E-Mail Removed)> wrote in message
> > > news:O$(E-Mail Removed)...
> > > > Hi,
> > > >
> > > > How can I keep the memory usage and CPU usageas low as possible in a
> > > VB.NET
> > > > application? any special techniques, any things to consider?
> > > >
> > > > Thanks a lot in advance,
> > > >
> > > > Pieter
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
DraguVaso
Guest
Posts: n/a
 
      7th Sep 2005
Hm thanks.
I understand the principle, although linking it to a .NET-application.... I
should know where to start, hehe. Any more practical ideas?

"Brian Henry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> research Big-O notation... if you can understand that concept then you can
> understand why CPU usage jumps and execution time takes long as it does
>
>
> "DraguVaso" <(E-Mail Removed)> wrote in message
> news:O$(E-Mail Removed)...
> > Hi,
> >
> > How can I keep the memory usage and CPU usageas low as possible in a
> > VB.NET
> > application? any special techniques, any things to consider?
> >
> > Thanks a lot in advance,
> >
> > Pieter
> >
> >

>
>



 
Reply With Quote
 
Helge Jensen
Guest
Posts: n/a
 
      7th Sep 2005

/me takes out his bag of troll-food, and his mega-crosspost hammer

DraguVaso wrote:

> - Just posting to one newsgroup isn't always an option in my opinion. I post
> a question to a newsgroup to reach people who might know the answer. When
> posting to only framework.performance-group (which is a small end really
> specific newsgroup and not read by a lot of people) I dramaticly reduce the
> number of people that I can reach with my question.


How many answers have you got? do you really think the problem is
whether you are reaching enough people?

The question is very broad, but you choose to broadcast it to various
specific dotnet groups.

> - Instead: posting to newsgroups that are related to the subject will
> increase the number of people I reacht that might knwo the answer. It's
> about specific parts of the framework (dotnet.framework), of a Windows Forms
> application (windowsforms), in VB.NET (languages.vb), but if somebody knows
> the answer for C# or another language it might work for VB.NET too
> (dotnet.general).


However, the people who are able to answer your questions most likely
won't anser crossposts. That's just the way it is.

> - I don't think that people who want to find an answer to their problem are
> reading all the thousands of messages in newsgroup. I guess they can get a
> better performance when using google to search in them.


Which will search all the newsgroups. I don't see how this makes it
important to crosspost.

If you wish to have maximum benefit from newsgroups, try and read
http://www.catb.org/~esr/faqs/smart-questions.html

--
Helge Jensen
private.php?do=newpm&u=
sip:(E-Mail Removed)
-=> Sebastian cover-music: http://ungdomshus.nu <=-
 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      7th Sep 2005
Alvin,

I like crosspost as in my opinion most of the people active in the dotnet
newsgroups. I learn than from answers in other newsgroups, while I don't
open them again and again in all newsgroups when it is multiposted

Of course it has to be a relevant crosspost.

Just my opinion.

Cor


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Security 1 30th Aug 2007 08:38 AM
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 1 30th Aug 2007 02:22 AM
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Networking 0 28th Aug 2007 01:38 AM
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Advanced Server 0 28th Aug 2007 01:38 AM
Memory Usage and Page File Usage - Help! RH Microsoft C# .NET 4 26th May 2004 05:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:19 PM.