Datastax Cassandra Windows Service -


this simple, it's annoying! when using cassandra.bat file, can set min / max heap size via java_opts parameter inside said bat file; can windows service? thought launched cassandra using prunsrv using same bat file seems not case doesn't pick of params set there.

thanks

allan

correct, prunsrv runs java process directly (not sure starting , stopping service work when using indirect invocation via bat). can change settings in registry using location (64 bit):

hkey_local_machine\software\wow6432node\apache software foundation\procrun 2.0\datastax_cassandra_community_server\parameters\java\options

you use (see below), haven't tried that. append option, java should ignore prior mention of options append. not use --jvmoptions, replace existing complete set of options new option.

prunsrv.exe //us//datastax_cassandra_community_server ++jvmoptions=-xms2g


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -