gamerson / liferay-jsp-spy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README should mention it only works with Java 8 (if it does)

nicolas-raoul opened this issue · comments

I followed the official instructions and go this memory error, despite having 16GB of free RAM:

$ blade server run
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000788800000, 1610612736, 0) failed; error='Cannot allocate memory' (errno=12)#

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1610612736 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/nico/src/liferay-jsp-spy/bundles/tomcat-9.0.10/bin/hs_err_pid20661.log

I fixed the problem by setting JAVA_HOME to a JDK8.

That might be worth mentioning in the README.
Thanks! :-)

hey @nicolas-raoul I agree with that, could you send a PR?