Ours is a windows based application.
When we open the application the CPU usage is 0% and the Memory Usage
is 54,324Kb
When I open a specific form in a module, the CPU usage is 0% and the
Memory Usage increases accordingly (67,730 Kb).
Now when I lock and unlock the System the CPU usage increases to 50%
with the Memory Usage being 67,730 kb.
I have made use of a .Net memory profiler and had taken snapshots
before locking and unlocking the system.
The following is the result after comparing both the versions.
NameSpace Name Total New Removed Delta Total
Max Min Delta
System WeakRefrence 1681 613 0 613 26896
16 16 9808
System.Reflection RunTimeMethodInfo 1229 8
0 8 29496 24 24 192
System.Windows.Forms NativeMethods.TracKMOU.. 10
5 0 5 240 24 24 120
System Runtimetype 2725 4 0 4 4360
16 16 64
System String 37232 5 1 4 2256 102456
18 458
Can anybody let me know the reason for the increase in CPU usage and
how I can overcome this.
And why is there a drastic increase in the number of instances for
WeakReference class when the operation is just locking and unlocking
and nothing to do with the application.
Thanks in advance
sowmyaIs this question related to SQL Server?. If so, please explain what you
mean by locking/unlocking. Perhaps you intended to post to a .Net forum.
--
Hope this helps.
Dan Guzman
SQL Server MVP
<sowmya.rangineni@.gmail.com> wrote in message
news:1182142975.732292.25730@.m36g2000hse.googlegroups.com...
> Ours is a windows based application.
> When we open the application the CPU usage is 0% and the Memory Usage
> is 54,324Kb
> When I open a specific form in a module, the CPU usage is 0% and the
> Memory Usage increases accordingly (67,730 Kb).
>
> Now when I lock and unlock the System the CPU usage increases to 50%
> with the Memory Usage being 67,730 kb.
>
> I have made use of a .Net memory profiler and had taken snapshots
> before locking and unlocking the system.
>
> The following is the result after comparing both the versions.
>
> NameSpace Name Total New Removed Delta Total
> Max Min Delta
> System WeakRefrence 1681 613 0 613 26896
> 16 16 9808
> System.Reflection RunTimeMethodInfo 1229 8
> 0 8 29496 24 24 192
> System.Windows.Forms NativeMethods.TracKMOU.. 10
> 5 0 5 240 24 24 120
> System Runtimetype 2725 4 0 4 4360
> 16 16 64
> System String 37232 5 1 4 2256 102456
> 18 458
>
> Can anybody let me know the reason for the increase in CPU usage and
> how I can overcome this.
>
> And why is there a drastic increase in the number of instances for
> WeakReference class when the operation is just locking and unlocking
> and nothing to do with the application.
> Thanks in advance
> sowmya
>
Showing posts with label usage. Show all posts
Showing posts with label usage. Show all posts
Friday, March 30, 2012
Sunday, February 19, 2012
in sql server is it possible to get the amount of memory used by a stored procedure? e.g.
in sql server is it possible to get the amount of memory used by a stored
procedure? e.g. memory usage statistics per stored procedure?Answered elsewhere. Please do not post the same message independently to
multiple newsgroups.|||Where was it answered? I see the question in programming, but no reply.
"Scott Morris" <bogus@.bogus.com> wrote in message
news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
> Answered elsewhere. Please do not post the same message independently to
> multiple newsgroups.
>|||"Jay" <spam@.nospam.org> wrote in message
news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
> Where was it answered? I see the question in programming, but no reply.
There is a reply in .programming - that effectively says the same thing that
I said (replied elsewhere). If you had crossposted (instead of multiposted)
the question, the replies would be visible in each newsgroup. If you don't
remember where you posted this question, then perhaps you can use some
search mechanism to find them for you -
http://groups.google.com/advanced_group_search?hl=en|||I posted a reply in .xml.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Jay" <spam@.nospam.org> wrote in message news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
> Where was it answered? I see the question in programming, but no reply.
> "Scott Morris" <bogus@.bogus.com> wrote in message
> news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
>> Answered elsewhere. Please do not post the same message independently to
>> multiple newsgroups.
>|||I was not the one who posted it, just someone that thought it was an
intresting question.
"Scott Morris" <bogus@.bogus.com> wrote in message
news:uH4ay6k6HHA.5844@.TK2MSFTNGP02.phx.gbl...
> "Jay" <spam@.nospam.org> wrote in message
> news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
>> Where was it answered? I see the question in programming, but no reply.
> There is a reply in .programming - that effectively says the same thing
> that I said (replied elsewhere). If you had crossposted (instead of
> multiposted) the question, the replies would be visible in each newsgroup.
> If you don't remember where you posted this question, then perhaps you can
> use some search mechanism to find them for you -
> http://groups.google.com/advanced_group_search?hl=en
>|||Thank you Tibor.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:4AB887EF-7070-4612-A3D8-68031C25C107@.microsoft.com...
>I posted a reply in .xml.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Jay" <spam@.nospam.org> wrote in message
> news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
>> Where was it answered? I see the question in programming, but no reply.
>> "Scott Morris" <bogus@.bogus.com> wrote in message
>> news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
>> Answered elsewhere. Please do not post the same message independently
>> to multiple newsgroups.
>>
procedure? e.g. memory usage statistics per stored procedure?Answered elsewhere. Please do not post the same message independently to
multiple newsgroups.|||Where was it answered? I see the question in programming, but no reply.
"Scott Morris" <bogus@.bogus.com> wrote in message
news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
> Answered elsewhere. Please do not post the same message independently to
> multiple newsgroups.
>|||"Jay" <spam@.nospam.org> wrote in message
news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
> Where was it answered? I see the question in programming, but no reply.
There is a reply in .programming - that effectively says the same thing that
I said (replied elsewhere). If you had crossposted (instead of multiposted)
the question, the replies would be visible in each newsgroup. If you don't
remember where you posted this question, then perhaps you can use some
search mechanism to find them for you -
http://groups.google.com/advanced_group_search?hl=en|||I posted a reply in .xml.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Jay" <spam@.nospam.org> wrote in message news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
> Where was it answered? I see the question in programming, but no reply.
> "Scott Morris" <bogus@.bogus.com> wrote in message
> news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
>> Answered elsewhere. Please do not post the same message independently to
>> multiple newsgroups.
>|||I was not the one who posted it, just someone that thought it was an
intresting question.
"Scott Morris" <bogus@.bogus.com> wrote in message
news:uH4ay6k6HHA.5844@.TK2MSFTNGP02.phx.gbl...
> "Jay" <spam@.nospam.org> wrote in message
> news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
>> Where was it answered? I see the question in programming, but no reply.
> There is a reply in .programming - that effectively says the same thing
> that I said (replied elsewhere). If you had crossposted (instead of
> multiposted) the question, the replies would be visible in each newsgroup.
> If you don't remember where you posted this question, then perhaps you can
> use some search mechanism to find them for you -
> http://groups.google.com/advanced_group_search?hl=en
>|||Thank you Tibor.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:4AB887EF-7070-4612-A3D8-68031C25C107@.microsoft.com...
>I posted a reply in .xml.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Jay" <spam@.nospam.org> wrote in message
> news:u3793mk6HHA.1208@.TK2MSFTNGP05.phx.gbl...
>> Where was it answered? I see the question in programming, but no reply.
>> "Scott Morris" <bogus@.bogus.com> wrote in message
>> news:uQqsLoX6HHA.600@.TK2MSFTNGP05.phx.gbl...
>> Answered elsewhere. Please do not post the same message independently
>> to multiple newsgroups.
>>
Subscribe to:
Posts (Atom)