You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "Yanhui Zhao (Jira)" <ji...@apache.org> on 2021/09/03 05:47:00 UTC

[jira] [Resolved] (MNEMONIC-667) "Big memory init failure" when running mnemonic-example inside ubuntu-WSL

     [ https://issues.apache.org/jira/browse/MNEMONIC-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanhui Zhao resolved MNEMONIC-667.
----------------------------------
    Resolution: Won't Fix

This issue was caused by WSL2 environment, and not an issue from the project itself. We will close this issue for now and monitor its status along with WSL2 support update in the future.

> "Big memory init failure" when running mnemonic-example inside ubuntu-WSL
> -------------------------------------------------------------------------
>
>                 Key: MNEMONIC-667
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-667
>             Project: Mnemonic
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 0.16.0
>            Reporter: Yanhui Zhao
>            Assignee: Yanhui Zhao
>            Priority: Major
>             Fix For: 0.16.0
>
>
> Testing mnemonic-example inside ubuntu-WSL and following error occurs. Not sure if it is the WSL issue or test case issue.
> === error log ===
> $ mvn exec:exec -Pexample -pl mnemonic-examples
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Detecting the operating system and CPU architecture
> [INFO] ------------------------------------------------------------------------
> [INFO] os.detected.name: linux
> [INFO] os.detected.arch: x86_64
> [INFO] os.detected.release: ubuntu
> [INFO] os.detected.release.version: 20.04
> [INFO] os.detected.release.like.ubuntu: true
> [INFO] os.detected.release.like.debian: true
> [INFO] os.detected.classifier: linux-x86_64
> [INFO]
> [INFO] ---------------< org.apache.mnemonic:mnemonic-examples >----------------
> [INFO] Building mnemonic-examples 0.16.0-SNAPSHOT
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- exec-maven-plugin:1.4.0:exec (default-cli) @ mnemonic-examples ---
> *Exception in thread "main" java.lang.RuntimeException: Big memory init failure!*
>  *at org.apache.mnemonic.service.memory.internal.VMemServiceImpl.ninit(Native Method)*
>  *at org.apache.mnemonic.service.memory.internal.VMemServiceImpl.init(VMemServiceImpl.java:58)*
>  *at org.apache.mnemonic.VolatileMemAllocator.<init>(VolatileMemAllocator.java:77)*
>  *at org.apache.mnemonic.examples.Main.main(Main.java:68)*
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.648 s
> [INFO] Finished at: 2021-07-22T20:44:06-07:00



--
This message was sent by Atlassian Jira
(v8.3.4#803005)