avatar
st
1
程序和一些别的没什么大的不同,但是memory leak很厉害,用了xml, sql, MSMQ,
force full GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
leak?
avatar
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?

avatar
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.
avatar
k*i
4
LoadTest each component one by one

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

avatar
p*n
5
CLR Profiler?

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

avatar
st
6
VS.net 2003 ah...

【在 p***n 的大作中提到】
: CLR Profiler?
avatar
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
avatar
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..

avatar
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

avatar
p*n
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..

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。