gpt4 book ai didi

java - OrientDB安装Raspberry Pi问题

转载 作者:行者123 更新时间:2023-12-02 05:13:30 25 4
gpt4 key购买 nike

我在 Raspberry Pi 上安装 OrientDB 时遇到了一些障碍,并且在 Google 上找不到任何想法。我尝试将 -Dmemory.useUnsafe=false -Dstorage.compressionMethod=gzip 添加到/bin/server.sh 最后一行的末尾,但这似乎没有帮助。

服务器启动,我可以通过 HTTP 访问它,但当我尝试创建数据库或连接到默认数据库时,JVM 崩溃。有什么想法吗?

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0xabf09054, pid=3075, tid=2878796912
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) Client VM (25.0-b70 mixed mode linux-arm )
# Problematic frame:
# C [snappy-1.1.0.1-d0822a9b-fe72-4159-a4b2-d57af0058267-libsnappyjava.so+0x1054] _init+0x187
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x00657ae0): JavaThread "OrientDB HTTP Connection /192.168.8.111:2480<-/192.168.2.115:57404" daemon [_thread_in_native, id=3102, stack$

siginfo:si_signo=SIGILL: si_errno=0, si_code=1 (ILL_ILLOPC), si_addr=0xabf09054

最佳答案

Raspberry Pi 和 OrientDB ...忍不住尝试一下:)

供您引用:

  • 使用 Raspberry Pi 型号 B (512MB)
  • 使用 Raspbian 7.6(包含截至 2014 年 11 月 28 日的最新补丁)
  • 使用 Oracle Java 8 SE for ARM 更新 6(所以不是 Raspbian 存储库中的版本!)
  • 使用 OrientDB 2.0-M3
  • server.sh中设置MAXHEAP=-Xmx128m

通过此配置,我可以毫无问题地通过 HTTP 创建/查询/修改数据库。 OrientDB 提示内存不足,但仅此而已:

WARNING No enough physical memory available: 437MB (heap=123MB). Set lower Heap and restart OrientDB. Now running with DISKCACHE=64MB

关于java - OrientDB安装Raspberry Pi问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27158389/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com