This message was deleted.
# troubleshooting
s
This message was deleted.
t
Please try changing the below values in compaction task configs if you are getting OutOfMemoryError
Copy code
maxBytesInMemory=-1 
maxRowsInMemory= Reduce the value than default 1000000
If we set maxBytesInMemory to -1, meaning Druid will rely entirely on maxRowsInMemory to control memory usage. Setting it to zero means the default value will be used (one-sixth of the JVM heap size).
c
^ is running out of direct memory though, those settings control heap for the most part
👍 1
i guess you’re using
offHeapMemory
for segmentWriteOutMediumFactory, could always try
tmpFile
though it will be slower
m
let me give that a try. Thanks!
tmpFile
did solve this problem. Thanks!