phobos
phobos copied to clipboard
[ERROR] GC overhead limit exceeded
Good morning,
I have been using this library in my project for a while. However, since Today I am getting the following error GC overhead limit exceeded while compiling my project. This errors comes from the Decoders and encoders.
Hi!
Could you provide some details?
- Does this error reproduce constantly?
- What is the size of the heap for your build tool? (If it's SBT -
sbt -v 2>/dev/null version | grep 'Xm') - Does increasing the heap size help to resolve this problem?
- How many decoders/encoders do you have?
- Are there any "heavy" classes? E.g. with lots of fields, with deep nesting, recursive definitions, etc?
Closing for now, as there is no activity in this issue. Feel free to reopen it, if the issue needs further investigation.
My best guess is that your SBT heap is too small. Compilation of scala macros (phobos has plenty of them) requires a lot of memory, so it is ok to increase the heap