Java Heap Space error when generating OST
I have a project which is failing to generate the OST, it sounds like it's running out of memory. I've included the logs, thread dumps, and the JSON files inside the IlluminatedCloud folder.
Let me know if there's anything else you need to debug this.
Do I just need to start the IDE with more memory?
Comments (8)
-
repo owner -
reporter Thanks Scott. I bumped the Java heap space size to 1g and it generated fine. It would be nice if it could always work with the default IDE settings (512M) but i'm not sure how realistic that is, since i know this kind of process can be very intensive.
You can probably drop the priority on this down since there's an easy work around, and the max heap size is 2g even for 32 bit systems.
-
repo owner Thanks. For what it's worth, I've had to bump the max heap in IDEA much higher over the past few years just to accommodate the large Java projects on which I've worked. I've found it's just part of the experience. Nonetheless, I'll look into whether there's any place I can be a little more efficient with memory as the OST is generating.
-
repo owner - marked as minor
Lowering the priority given that there's a reasonable workaround.
-
repo owner Issue
#118was marked as a duplicate of this issue. -
repo owner I just delivered a number of optimizations to OST generation that I'm hoping put this to rest. There will likely still be orgs with enough metadata to warrant an increased heap during generation, but I think I've knocked down the requirements quite a bit.
-
repo owner - changed status to resolved
-
repo owner - removed version
Removing version: Unassigned (automated comment)
- Log in to comment
Thanks for the details. I'll take a look at the provided assets but in the interim, yes, just bump up IDEA's max heap size and try again. Let me know if you can't get past this with a larger heap.