Cassandra issues. Increasing memory for Cassandra.


This article describes how to resolve 70% of issues related to Apache Cassandra that is bundled with Upsource and used for data storage.


  • Cassandra gets restarted on a regular basis
  • New commits are not getting indexed
  • Some (all) revisions are stuck in "indexing in progress" state


Our statistics show that the most common reason for Cassandra failures is lack of memory assigned to it. Here are the steps on how to increase it:

  1. Stop Upsource with <upsource_home>/bin/ stop
  2. Set new Xmx value with <upsource_home>/apps/cassandra/bin/ configure -J-Xmx5000m
  3. Start Upsource with <upsource_home>/bin/ start

Note: We don't recommend setting Xmx value for more than 8 GBs.

To view current JVM options for a Cassandra, use the following command:

<upsource_home>/apps/cassandra/bin/ list jvm-options

If this didn't help, please submit a request with attached logs to the Upsource team.

1 comment



I have been trying to solve this Cassandra issue on Upsource, Cassandra still fails to run under Upsource. 



Edited by Edwin Mokami

Please sign in to leave a comment.

Have more questions?

Submit a request