简体   繁体   English

OrientDB安装Raspberry Pi的问题

[英]OrientDB installation of Raspberry Pi issues

I'm hitting some snags getting OrientDB installed on my Raspberry Pi and ran out of ideas from Googling. 我遇到了一些麻烦,在Raspberry Pi上安装了OrientDB,但用完了Googling的想法。 I tried adding -Dmemory.useUnsafe=false -Dstorage.compressionMethod=gzip to the end of the last line of the /bin/server.sh but that didn't seem to help. 我尝试将-Dmemory.useUnsafe=false -Dstorage.compressionMethod=gzip添加到-Dmemory.useUnsafe=false -Dstorage.compressionMethod=gzip最后一行的末尾,但这似乎无济于事。

The server starts and I can access it over HTTP but the JVM crashes when I try to create a database or connect to the default database. 服务器启动,我可以通过HTTP访问它,但是当我尝试创建数据库或连接到默认数据库时,JVM崩溃。 Any ideas? 有任何想法吗?

#
# 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 and OrientDB ... could not resist trying it out :) Raspberry Pi和OrientDB ...无法抗拒尝试:)

For your information: 供你参考:

  • Using Raspberry Pi model B (512MB) 使用Raspberry Pi模型B(512MB)
  • Using Raspbian 7.6 (with latest patches as of 2014-11-28) 使用Raspbian 7.6(具有2014年11月28日的最新补丁)
  • Using Oracle Java 8 SE for ARM update 6 (so not the version from the Raspbian repo!) 使用Oracle Java 8 SE进行ARM 更新6 (因此不能使用Raspbian存储库中的版本!)
  • Using OrientDB 2.0-M3 使用OrientDB 2.0-M3
  • Set MAXHEAP=-Xmx128m in server.sh server.sh设置MAXHEAP=-Xmx128m

With this configuration i am able to create / query / modify a database via HTTP without problems. 通过这种配置,我能够通过HTTP创建/查询/修改数据库,而不会出现问题。 OrientDB complains about the shortage of memory, but that is all: OrientDB抱怨内存不足,仅此而已:

WARNING No enough physical memory available: 437MB (heap=123MB). 警告没有足够的物理内存:437MB(堆= 123MB)。 Set lower Heap and restart OrientDB. 设置较低的堆并重新启动OrientDB。 Now running with DISKCACHE=64MB 现在以DISKCACHE = 64MB运行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM