elasticsearch-lite

23 views
Skip to first unread message

fugee ohu

unread,
Dec 26, 2019, 1:37:46 AM12/26/19
to Linux Users Group
My laptop is weak and can't handle elasticsearch no matter what I set the heap size to in jvm.options (jvm is java virtual machine) so I'm trying to use elasticsearch-lite but I get the error Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.

Chris Miller

unread,
Dec 26, 2019, 2:16:56 PM12/26/19
to linuxus...@googlegroups.com
Check the JVM version (java -version), it sounds like you have an older JVM that es-l is expecting which doesn’t support the new parallel garbage collector. Or maybe it’s new and that flag was rolled into the GC: prefix of JVM args. Either way it sounds like a mismatch between the version of Java your software is expecting and the version you have installed.

At least on Ubuntu you can toggle between Java versions with the update-alternatives command.

On Dec 25, 2019, at 10:37 PM, fugee ohu <fuge...@gmail.com> wrote:


My laptop is weak and can't handle elasticsearch no matter what I set the heap size to in jvm.options (jvm is java virtual machine) so I'm trying to use elasticsearch-lite but I get the error Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linuxusersgroup/0f44afcc-4a4a-4cf5-98cd-1369859eac3b%40googlegroups.com.

fugee ohu

unread,
Dec 27, 2019, 3:45:32 AM12/27/19
to Linux Users Group


On Thursday, December 26, 2019 at 2:16:56 PM UTC-5, Chris Miller wrote:
Check the JVM version (java -version), it sounds like you have an older JVM that es-l is expecting which doesn’t support the new parallel garbage collector. Or maybe it’s new and that flag was rolled into the GC: prefix of JVM args. Either way it sounds like a mismatch between the version of Java your software is expecting and the version you have installed.

At least on Ubuntu you can toggle between Java versions with the update-alternatives command.

On Dec 25, 2019, at 10:37 PM, fugee ohu <fuge...@gmail.com> wrote:


My laptop is weak and can't handle elasticsearch no matter what I set the heap size to in jvm.options (jvm is java virtual machine) so I'm trying to use elasticsearch-lite but I get the error Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxus...@googlegroups.com

For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxus...@googlegroups.com.

I saw a post saying it requires openjdk-8
Reply all
Reply to author
Forward
0 new messages