Hi,

Change this line:

```
JAVA_OPT="${JAVA_OPT} -server -Xms8g -Xmx8g -Xmn4g"
```

to:

```
JAVA_OPT="${JAVA_OPT} -server -Xms4g -Xmx4g -Xmn2g"
```

It's a Java application, broker will only generate a 4G heap now~

Regards,
yukon

On Tue, Mar 6, 2018 at 1:14 PM, Ahmed Ifhaam <[email protected]> wrote:

> hi yukon,
> As you said its taking 8gb almost thats why my system is getting stuck
> mostly. I read the scripts in the bin folder i didn't find a place to
> adjust the memory needed. I have only 8GB of ram and my hard disk is not an
> ssd so i need to work without swap as much as possible can you help me on
> this please .
>
> Thank you
>
> On Mon, Mar 5, 2018 at 5:02 PM, yukon <[email protected]> wrote:
>
> > Hi,
> >
> > The start script will consume 8GB mem, you could adjust the script before
> > running broker[1].
> >
> > Also please try the current rocketmq console for reference[2].
> >
> > Let us know if you have any question.
> >
> > [1].
> > https://github.com/apache/rocketmq/blob/master/
> > distribution/bin/runbroker.sh
> > [2].
> > https://github.com/apache/rocketmq-externals/tree/
> master/rocketmq-console
> >
> > Regards,
> > yukon
> >
> > On Mon, Mar 5, 2018 at 5:33 PM, Ahmed Ifhaam <[email protected]>
> > wrote:
> >
> > > Hi all,
> > >
> > > I'm Ahmed Ifhaam from Sri Lanka. I'm interested in participating GSOC
> > 2018.
> > > For my project i'm willing to take ROCKETMQ-380
> > > <https://issues.apache.org/jira/browse/ROCKETMQ-380> issue. Since i'm
> > new
> > > to the product. Where can i start ? Please help me on this. I tried
> > running
> > > Rocket-MQ but it is taking a lot of memory which results my system to
> > hang.
> > > I'm looking for the proper way to start solving this issue.
> > >
> > > Thank you.
> > >
> > > --
> > > *Ahmed Ifhaam *
> > > University of Kelaniya | MIT '19
> > > Tel :- 94662244937 | Mob :- 94776699609
> > > [email protected] <[email protected]>
> > >
> >
>
>
>
> --
> *Ahmed Ifhaam *
> University of Kelaniya | MIT '19
> Tel :- 0662244937 | Mob :- 0776699609
> [email protected] <[email protected]>
>

Reply via email to