程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ, force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory leak?
x*n
2 楼
I know a software called BoundsChecker. But never use it before.
【在 st 的大作中提到】 : 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ, : force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory : leak?
st
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
4 楼
LoadTest each component one by one
【在 st 的大作中提到】 : 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ, : force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory : leak?
p*n
5 楼
CLR Profiler?
【在 st 的大作中提到】 : 程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ, : force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory : leak?
st
6 楼
VS.net 2003 ah...
【在 p***n 的大作中提到】 : CLR Profiler?
st
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
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
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
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..