mirror of https://github.com/apache/kafka.git
				
				
				
			KAFKA-4115: Increasing the heap settings for Connect scripts
Signed-off-by: Arjun Satish <arjunconfluent.io> Author: Arjun Satish <arjun@confluent.io> Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io> Closes #4213 from wicknicks/KAFKA-4115
This commit is contained in:
		
							parent
							
								
									049342e440
								
							
						
					
					
						commit
						cfa6a78c7c
					
				|  | @ -26,6 +26,10 @@ if [ "x$KAFKA_LOG4J_OPTS" = "x" ]; then | |||
|     export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../config/connect-log4j.properties" | ||||
| fi | ||||
| 
 | ||||
| if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then | ||||
|   export KAFKA_HEAP_OPTS="-Xms256M -Xmx2G" | ||||
| fi | ||||
| 
 | ||||
| EXTRA_ARGS=${EXTRA_ARGS-'-name connectDistributed'} | ||||
| 
 | ||||
| COMMAND=$1 | ||||
|  |  | |||
|  | @ -26,6 +26,10 @@ if [ "x$KAFKA_LOG4J_OPTS" = "x" ]; then | |||
|     export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../config/connect-log4j.properties" | ||||
| fi | ||||
| 
 | ||||
| if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then | ||||
|   export KAFKA_HEAP_OPTS="-Xms256M -Xmx2G" | ||||
| fi | ||||
| 
 | ||||
| EXTRA_ARGS=${EXTRA_ARGS-'-name connectStandalone'} | ||||
| 
 | ||||
| COMMAND=$1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue