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
|