community icon indicating copy to clipboard operation
community copied to clipboard

[Bug]First comile and Run FE in mac got `OutOfMemoryError` or `java: Compilation failed`

Open rterror opened this issue 2 years ago • 0 comments

First compile the FE according to https://github.com/StarRocks/community/blob/main/Contributors/guide/IDEA.md. Run StarRocks FE, I got

Module 'fe-core' production: java.lang.OutOfMemoryError: Java heap space

After fix it and when I try to reproduce it, I got

java: Compilation failed: internal java compiler error

This problem can be fixed by changing 'Shared build process heap size (Mbytes)' from 700 to 1024 in follow figure. image

rterror avatar Jun 04 '23 15:06 rterror