Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM fails to launch on OpenBSD #472

Closed
Kaiepi opened this issue Jun 27, 2018 · 1 comment
Closed

JVM fails to launch on OpenBSD #472

Kaiepi opened this issue Jun 27, 2018 · 1 comment

Comments

@Kaiepi
Copy link
Contributor

Kaiepi commented Jun 27, 2018

The Problem

See title. This happens regardless of whether wxallowed is enabled on the partition nqp is installed on. I've tried changing the memory preferences in /etc/login.conf to allow processes to use up to 4GB of memory, but that doesn't fix this either. Does the JVM use a lot of processes or open a lot of files?

Expected Behavior

Should launch.

Actual Behavior

Doesn't.

Steps to Reproduce

bastille% nqp-j --version
Error occurred during initialization of VM
Could not reserve enough space for 1355776KB object heap

Environment

  • Operating system:
    OpenBSD bastille.kennel.qt 6.3 GENERIC.MP#4 amd64
  • Compiler version (perl6 -v):
    This is Rakudo version 2018.06-25-ge9351cbaa built on MoarVM version 2018.06-19-g74c145c6d
  • OpenJDK version:
    1.8.0_144
@Kaiepi
Copy link
Contributor Author

Kaiepi commented Oct 6, 2018

This is fixed by running $ ulimit -d 2048000

@Kaiepi Kaiepi closed this as completed Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant