cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

CFLint-ui asking for 4G of Memory #38

Closed jjames967 closed 9 years ago

jjames967 commented 9 years ago

Using a computer with a smaller amount RAM, I'm getting an error:

"Invalid maximum heap size: -Xmx4g The specified size exceeds the maximum representable size."

This is generated in the cflint-ui.bat file. I think it may be wise to let the system and Java negotiate RAM space. Perhaps even starting the heap size at 512M of memory of memory. Perhaps even smaller.

jjames967 commented 9 years ago

I'm using Windows 8.1 with 8G RAM. Only 2.5G RAM in use, but throwing that error.

jjames967 commented 9 years ago

It still showed the error with 1G RAM allocation request.

ryaneberly commented 9 years ago

I'm backing change that out. I put that in the app assembler when I was attempting to deal with the parser hanging on me. Memory was not the problem, ambiguities were.

On Fri, Mar 20, 2015 at 8:35 PM, jjames967 notifications@github.com wrote:

It still showed the error with 1G RAM allocation request.

— Reply to this email directly or view it on GitHub https://github.com/cflint/CFLint/issues/38#issuecomment-84207468.