cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1446) cassandra-cli still relies on instead of
Date Tue, 31 Aug 2010 02:58:54 GMT


Eric Evans commented on CASSANDRA-1446:

The specific problem I'm seeing here is that the user can launch cassandra itself, but doesn't
have enough memory to launch cassandra-cli afterwards, and there isn't an intuitive way to
change cassandra-cli's heap.

Interesting.  I would have thought the default max heap size would be something... reasonable,
but on my machine it seems to be 987MB (the hell?!).

Anyway, I just checked in a change that sets this to 256MB.  I don't know if that's the optimal
value but it's considerably less than the almost-a-gig default.  The only reason it would
ever need to be bigger than say 16MB is to buffer larger responses, and 256MB seems like a
gracious plenty for any practical use of our CLI.

I see cassandra-cli's script specifically trying to include, though, on second
look, it does not appear to be doing anything with it. Maybe we should just remove the

It is using it though, it's using it to setup the classpath; is basically
the common code for setting the classpath in all of those scripts.

> cassandra-cli still relies on instead of
> -------------------------------------------------------------------------
>                 Key: CASSANDRA-1446
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7 beta 1
>            Reporter: Brandon Williams
>            Assignee: Eric Evans
>            Priority: Trivial
>             Fix For: 0.7 beta 2
> When we switched to, we neglected to change the cli as well.  This leads
to people unable to launch to the client due to heap size, and not having any idea how to
change the heap for the cli itself.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message