-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
Now you have maximum heap size 2048m. If you need to increase heap size,
delete -Xmx2048m and add -Xms4G
2016-04-16 14:03 GMT+03:00 sam mohel <[email protected]>:
> i have this in storm.yaml
> worker.childopts: "-Xmx2048m -XX:MaxPermSize=256m -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps -verbose:gc
> -Xloggc:/usr/local/storm/logs/gc-storm-worker-%6700%.log"
>
> what should i write in this statement ?
>
>
> On Saturday, April 16, 2016, Andrey Dudin <[email protected]> wrote:
>
>> >i want to increase size of heap for worker to -Xms4G how can i write it
>> in storm.yaml ?
>>
>> add this option to worker.childopts
>>
>> 2016-04-16 7:34 GMT+03:00 sam mohel <[email protected]>:
>>
>>> i want to increase size of heap for worker to -Xms4G how can i write it
>>> in storm.yaml ?
>>>
>>> and how can i set the number of CPU consuming bolts to the amount of
>>> cores ?
>>>
>>> Thanks for any help
>>>
>>
>>
>>
>> --
>> С уважением Дудин Андрей
>>
>
--
С уважением Дудин Андрей