i have big grails project (five modules + 2 custom no pre-compiled plugins).
at first – compilation failed out of memory in javac. added params:
-j-xmx1024m -j-xms512m -j-xx:maxpermsize=2048m
great, first oom – fixed.
at second – have oom in groovy compiler. how pass memory params idea groovyc? application should work in not forking mode
you don't set groovyc memory directly. should set/increase memory settings directly in intellij settings. documentation can found here: https://www.jetbrains.com/idea/help/increasing-memory-heap.html
in general, in intellij installation's bin folder, there 2 files of interest: idea.exe.vmoptions , idea64.exe.vmoptions. adjust settings file matches idea.exe or idea64.exe use launch intellij
within file, can adjust heap memory intellij whole. guess running out of perm gen space , should increase maxpermgensize. settings looks similar (i have 16gb memory on pc):
-xms750m -xmx2g -xx:maxpermsize=350m
Comments
Post a Comment