danepitkin commented on PR #40786:
URL: https://github.com/apache/arrow/pull/40786#issuecomment-2020819997

   Just noting here that setting java max heap size to 8GB throws
   
   ```
   
   Exception in thread "CommonsExecStreamPumper-pool-9-thread-2" 
java.lang.OutOfMemoryError: Java heap space
   --
     | at java.lang.StringCoding.decode(StringCoding.java:215)
     | at java.lang.String.<init>(String.java:463)
     | at java.lang.String.<init>(String.java:515)
     | at com.gradle.d.a.a.a(SourceFile:83)
     | at com.gradle.d.a.a.flush(SourceFile:78)
     | at com.gradle.d.a.a.write(SourceFile:72)
     | at java.io.PrintStream.write(PrintStream.java:480)
     | at com.gradle.d.a.b.write(SourceFile:203)
     | at org.apache.commons.exec.StreamPumper.run(StreamPumper.java:112)
     | at java.lang.Thread.run(Thread.java:750)
   ```
   
   but increasing max heap size to 16GB throws 
   
   ```
   
   Exception in thread "CommonsExecStreamPumper-pool-9-thread-2" 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   --
     | at java.util.Arrays.copyOf(Arrays.java:3236)
     | at 
java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191)
     | at com.gradle.d.a.a.flush(SourceFile:78)
     | at com.gradle.d.a.a.write(SourceFile:72)
     | at java.io.PrintStream.write(PrintStream.java:480)
     | at com.gradle.d.a.b.write(SourceFile:203)
     | at org.apache.commons.exec.StreamPumper.run(StreamPumper.java:112)
     | at java.lang.Thread.run(Thread.java:750)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to