Redian新闻
>
any free or trial JVM optimizer??
avatar
any free or trial JVM optimizer??# Java - 爪哇娇娃
t*r
1
damn i hate OutOfMemory error.
avatar
g*g
2
what do you mean? try -Xmx256M or more

【在 t****r 的大作中提到】
: damn i hate OutOfMemory error.
avatar
t*r
3
no use. i set java heap to 1024M already.. sigh//

【在 g*****g 的大作中提到】
: what do you mean? try -Xmx256M or more
avatar
g*g
4
Then it's probably your problem, you may have very serious
memory leak. Check where you load big objects, are they
stored in some static and long-life collection objects and
were never manually removed?

【在 t****r 的大作中提到】
: no use. i set java heap to 1024M already.. sigh//
avatar
t*r
5
yeah... i have sth 20MB obj in memory.

【在 g*****g 的大作中提到】
: Then it's probably your problem, you may have very serious
: memory leak. Check where you load big objects, are they
: stored in some static and long-life collection objects and
: were never manually removed?

avatar
A*o
9
so run a profiler and see the calling stacks.
you might have something doing recursive calls but the logic for
stopping it might be wrong.

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