由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - memory leak
相关主题
用DLL会快些吗?Managed Code vs. Unmanaged Code
How to write to MSMQ on another machine?c#有没有第三方地免费解释器?
Re: How to write to MSMQ on another machfrom C++ to C#
How many different ways you can send a message cross differnent processes?有谁来谈谈yukon么?
Performance Profiling.NET前景的障碍
baozi for help a simple way C# programASP.Net比ASP倒底好多少?
C# on JVM?那位VB.NET 的大侠帮个忙。
.NET 入门系列(1)--什么是.NETtemplate?
相关话题的讨论汇总
话题: memory话题: gc话题: leak话题: vs话题: loadtest
进入DotNet版参与讨论
1 (共1页)
st
发帖数: 1685
1
程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ,
force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
leak?
x*****n
发帖数: 1905
2
I know a software called BoundsChecker. But never use it before.

【在 st 的大作中提到】
: 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ,
: force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
: leak?

st
发帖数: 1685
3
we dont have a version which works with c# and it's quite expensive. :(

【在 x*****n 的大作中提到】
: I know a software called BoundsChecker. But never use it before.
k****i
发帖数: 1072
4
LoadTest each component one by one

【在 st 的大作中提到】
: 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ,
: force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
: leak?

p***n
发帖数: 635
5
CLR Profiler?

【在 st 的大作中提到】
: 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ,
: force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
: leak?

st
发帖数: 1685
6
VS.net 2003 ah...

【在 p***n 的大作中提到】
: CLR Profiler?
st
发帖数: 1685
7
how to loadtest? you mena just keep it running?
it's funny that I disabled most part of it, still show some memory leak.
btw, the memory usage has stablized after the force full GC code...
it's really weird since I've never seen a c# program behaves like this b4..

【在 k****i 的大作中提到】
: LoadTest each component one by one
k****i
发帖数: 1072
8
What do you mean stablized after GC, do you only mean that GC collects all the
memory back or after GC it never leak again?
As far as I know, GC sometimes is not fast enough to collect all the garbage
and it may cause out of memory problem. the only thing you can do is to change
the design


GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory

【在 st 的大作中提到】
: how to loadtest? you mena just keep it running?
: it's funny that I disabled most part of it, still show some memory leak.
: btw, the memory usage has stablized after the force full GC code...
: it's really weird since I've never seen a c# program behaves like this b4..

st
发帖数: 1685
9
the memory still grows but it shrinks from tiem to time, I have it running
for over 12 hours now, it didnot grow out of control.
probably, too many things allocated too fast, any way, it's good that it
works now. :D

【在 k****i 的大作中提到】
: What do you mean stablized after GC, do you only mean that GC collects all the
: memory back or after GC it never leak again?
: As far as I know, GC sometimes is not fast enough to collect all the garbage
: and it may cause out of memory problem. the only thing you can do is to change
: the design
:
: ,
: GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory

p***n
发帖数: 635
10
it is independent of VS and it can be used for
.NET 1.1 applications.
check out this white paper.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto13.asp

【在 st 的大作中提到】
: VS.net 2003 ah...
p***n
发帖数: 635
11
for load test, if no third party tool is available,
ACT (which comes with VS Ent Arch Edi) can be used
for this. pretty handy tool

【在 st 的大作中提到】
: how to loadtest? you mena just keep it running?
: it's funny that I disabled most part of it, still show some memory leak.
: btw, the memory usage has stablized after the force full GC code...
: it's really weird since I've never seen a c# program behaves like this b4..

st
发帖数: 1685
12
thanks

【在 p***n 的大作中提到】
: it is independent of VS and it can be used for
: .NET 1.1 applications.
: check out this white paper.
: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto13.asp

1 (共1页)
进入DotNet版参与讨论
相关主题
template? Performance Profiling
C# to C/C++baozi for help a simple way C# program
Need Help: a very wierd Managed C++ interop problemC# on JVM?
大家觉得 CLR via C# 这本书怎么样?.NET 入门系列(1)--什么是.NET
用DLL会快些吗?Managed Code vs. Unmanaged Code
How to write to MSMQ on another machine?c#有没有第三方地免费解释器?
Re: How to write to MSMQ on another machfrom C++ to C#
How many different ways you can send a message cross differnent processes?有谁来谈谈yukon么?
相关话题的讨论汇总
话题: memory话题: gc话题: leak话题: vs话题: loadtest