GWT 2.7 - Xmx with localWorkers flag and <collapse-all-properties />

浪子不回头ぞ 提交于 2019-12-11 09:25:54

问题


Query 1 - If we have set -Xmx12288m in extraJvmArgs and set localWorkers flag to 4. Will this allot 12Gigs to each thread or split the 12 gigs into 3gigs each for the 4 threads?

Query 2 - If we use <collapse-all-properties /> then will the compiler still use 4 threads from localWorkers for single permutation? ( Not likely as per documentation )


回答1:


1) it's the maximum heap space so it's split over your threads, on a per need basis (not necessarily 3/3/3/3)

2) not sure, suggest you try it. collapse-all-properties will produce a single output file, but I'm not sure if that means that only single permutation is computed (skipping the need for localWorkers) or that still several permutations are computed but merged into one file. Any case, if localWorkers=4 won't help, it won't hurt either.



来源:https://stackoverflow.com/questions/27763549/gwt-2-7-xmx-with-localworkers-flag-and-collapse-all-properties

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!