How to set heap memory in cassandra on docker

Ads
 

How to set heap memory in cassandra on docker

I am trying to run cassandra on docker and its throwing error asking to set the heap memory.

It is throwing error and asking to set following varibales:

HEAP_NEWSIZE=128M
MAX_HEAP_SIZE=2048M

How to set the heap memory in cassandra on docker?

Thanks

View Answers

June 24, 2020 at 6:07 AM

HI,

In docker-compose.yml file you should add following entries:

    - HEAP_NEWSIZE=128M
    - MAX_HEAP_SIZE=2048M

Thanks


June 24, 2020 at 6:07 AM

Hi,

Add like this:

environment:
    - HEAP_NEWSIZE=128M
    - MAX_HEAP_SIZE=2048M

Thanks

Ads









Related Tutorials/Questions & Answers:
How to set heap memory in cassandra on docker
_SIZE=2048M How to set the heap memory in cassandra on docker? Thanks  ...How to set heap memory in cassandra on docker  I am trying to run cassandra on docker and its throwing error asking to set the heap memory
heap memory
heap memory  how long is the object stored in heap memory persist
Advertisements
heap and stack memory
heap and stack memory   hi i am jane pls explain the difference between heap memory and stack memory with example programs
heap and stack memory
heap and stack memory   hi i am jane pls explain the difference between heap memory and stack memory   STACK memory... after v came out from the program]. While HEAP memory is referred as permanent
elasticsearch java heap space out of memory
elasticsearch java heap space out of memory  Hi, How to set heap size in elasticsearch to overcome java heap space out of memory? Thanks   Hi, Set following value in environment variables: export ES_HEAP_SIZE=10g
Controlling Java Heap Size Memory Allocation
Controlling Java Heap Size Memory Allocation  Hi, Tell me about Controlling Java Heap Size Memory Allocation? I have to run java program from... compilation -Xms<size> set initial Java heap size -Xmx<
ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'
: ModuleNotFoundError: No module named 'docker-registry-driver-cassandra' How to remove the ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'...ModuleNotFoundError: No module named 'docker-registry-driver-cassandra
ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'
: ModuleNotFoundError: No module named 'docker-registry-driver-cassandra' How to remove the ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'...ModuleNotFoundError: No module named 'docker-registry-driver-cassandra
ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'
: ModuleNotFoundError: No module named 'docker-registry-driver-cassandra' How to remove the ModuleNotFoundError: No module named 'docker-registry-driver-cassandra'...ModuleNotFoundError: No module named 'docker-registry-driver-cassandra
Memory
Memory   what is the different between heap memory and stack memory ? please explain with example
memory
memory   hi i am jane pls explain the difference between heap memory and stack memory
how to set class path
how to set class path  how to set class path in java
how to set the values in jsp
how to set the values in jsp  how to set the values text boxs in jsp frm dbase via servlet
how to set background image
how to set background image  how to set image in background in that image i want over lay text how it possible in jsp? using flash image how it is overlayed in jsp page? thanks
How to set NSZombieEnabled iPhone
How to set NSZombieEnabled iPhone  Hi, In my application I have to find and fix the object release issue. How to set NSZombieEnabled iPhone to find the bugs? Thanks   Hi, Please see the thread NSZombieEnabled iPhone
UINavigationController how to set title
UINavigationController how to set title  I want to set the tile of the UINavigationController when a view is displayed once new view is pushed. Thanks   Hi, You should use the following code
memory management
memory management  Why objects store in heap
Java heap space
. The command may be... Ex: java -Xms32m -Xmx128m How can I increase java heap... options available to change Heap Size. 1 -Xms<size> set initial Java heap size 2 -Xmx<size> set maximum Java heap size 3 -Xss<size>
How to set target to videos??
How to set target to videos??  Hi, i am developing project in HTML 5 with videos so, i am dispalaing videos in two table coloumn,if the video in one coloumn is clicked,it should be played in another coloumn. plzz suggest any idea
How to capture video and then how to store it in mobile memory
How to capture video and then how to store it in mobile memory  Hello there, I'm developing a mobile application where i'm capturing video from... to store it in mobile memory. so plz tel me ow to do it. if you give example code i
memory layout
memory layout  how much space does each segement(data,stack,heap,static) holds in memory? memory here refers to ram or hard disk
how set data in a dialog
how set data in a dialog  Button button = (Button) findViewById(R.id.button1); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { setContentView
how to set the value of textfield constant
how to set the value of textfield constant  how to set the value of textfield constant
how to set time in jsp page
how to set time in jsp page   I need code for set the time in jsp code .iam using struts frame work back end oracle 10g ide is eclipse 6.0
how to set size of button,textfield.
how to set size of button,textfield.  how we set size of button... large how to set as a preferd size in the panel or frame .when we click maximize button not effect on text or button to their of size the set on the prefered
How to set Marathi font to Label??
How to set Marathi font to Label??  Hello, I am doing one project in java-Swing Farm Management i want to set Marathi label in that so how i can? plzzzz help me its urgent
how to list volumes in docker
how to list volumes in docker  Hi, I have docker and i want to list all the volumes. how to list volumes in docker? After listing i want to delete...; Hi, To list the volumes in docker you can use following command: docker
How to delete all Docker local Docker images
How to delete all Docker local Docker images  Hi, I have docker... want to get rid off all these images and containers. How to delete all Docker... following command: docker rm -vf $(docker ps -a -q) If you want to delete all
How to set placeholder in uitextfield programmatically?
How to set placeholder in uitextfield programmatically?  Can any one tell me about the example code for setting the placeholder in a UITextField programatically? Thanks   HI, Its easy. Use the following code
HOW TO DISPLAY 2 SET OF CONTROLS
HOW TO DISPLAY 2 SET OF CONTROLS  i can be display one row by selecting value from drop down box BUT ALSO i need to display 2 rows by selecting value from drop down box of textbox's and radio button,drop down box using this code
how to set fetch size for jdbc odbc driver
how to set fetch size for jdbc odbc driver  What is the default fetch size for the JDBC ODBC driver and how can i fetch a set of results for JDBC... that it may handle out of memory issues. When you set fetch size 100 , the number

Ads