o*****l 发帖数: 539 | 1 If I set heap size for a java app to 128G, will it have some side effect for
GC?
thanks! |
g*****g 发帖数: 34805 | 2 128G is a lot of memory. It may cause the stop-the-world GC to be longer. It
may or may not be a problem depending on your application.
for
【在 o*****l 的大作中提到】 : If I set heap size for a java app to 128G, will it have some side effect for : GC? : thanks!
|
z*******3 发帖数: 13709 | 3 很明显太大了,这样gc停顿会很长
我一般一个node设置为10g |
h**********c 发帖数: 4120 | 4 可以用多线程gc,gc的问题不是gc的问题是modeling的问题
好的32g设计可以半年维持low profile
不好的model,没有model,1G也要lagxi |
w**z 发帖数: 8232 | 5 way too big. full GC will take a couple of minutes to complete, the node
essentially is unresponsive at that time. I wouldn't go over 8g for the heap
. if you need more than that, you need to think about how to make your
application horizontal scalable.
for
【在 o*****l 的大作中提到】 : If I set heap size for a java app to 128G, will it have some side effect for : GC? : thanks!
|
g*****g 发帖数: 34805 | 6 8G is a bit extreme, there's still difference between different generations.
There are GC algorithms and options that can be tuned to fit the app
profile. Generally I wouldn't go beyond 64G though.
heap
【在 w**z 的大作中提到】 : way too big. full GC will take a couple of minutes to complete, the node : essentially is unresponsive at that time. I wouldn't go over 8g for the heap : . if you need more than that, you need to think about how to make your : application horizontal scalable. : : for
|
g*********e 发帖数: 14401 | 7 one gc will take forever
for
【在 o*****l 的大作中提到】 : If I set heap size for a java app to 128G, will it have some side effect for : GC? : thanks!
|
g*********e 发帖数: 14401 | 8 even cms has some stopthe world period
【在 h**********c 的大作中提到】 : 可以用多线程gc,gc的问题不是gc的问题是modeling的问题 : 好的32g设计可以半年维持low profile : 不好的model,没有model,1G也要lagxi
|