Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
1.2 kB
1
Indexable
Never
[16:27:32:hobapp@tcs-hob-sir-env01 ] /app/billing/billingip/HOBSRating/server/kafka_2.12-0.10.2.1/bin>./kafka-producer-perf-test.sh --topic tibenrichedODSData --num-records 1 --record-size 304857599 --throughput -1 --producer-props bootstrap.servers=localhost:9092 --producer.config /app/billing/billingip/HOBSRating/server/kafka_2.12-0.10.2.1/config/producer.properties
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
        at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
        at org.apache.kafka.clients.producer.internals.BufferPool.allocate(BufferPool.java:114)
        at org.apache.kafka.clients.producer.internals.RecordAccumulator.append(RecordAccumulator.java:183)
        at org.apache.kafka.clients.producer.KafkaProducer.doSend(KafkaProducer.java:478)
        at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:440)
        at org.apache.kafka.tools.ProducerPerformance.main(ProducerPerformance.java:119)
[16:28:00:hobapp@tcs-hob-sir-env01 ] /app/billing/billingip/HOBSRating/server/kafka_2.12-0.10.2.1/bin>

Leave a Comment