Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-667

"Big memory init failure" when running mnemonic-example inside ubuntu-WSL

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.16.0
    • 0.16.0
    • Example
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yzz127 Yanhui Zhao
            yzz127 Yanhui Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment