OrientDB安装Raspberry Pi的问题

塔克

我遇到了一些麻烦,在Raspberry Pi上安装了OrientDB,但用完了Googling的想法。我尝试将添加-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进行ARM 更新6(因此不能使用Raspbian存储库中的版本!)
  • 使用OrientDB 2.0-M3
  • 设置MAXHEAP=-Xmx128mserver.sh

通过这种配置,我可以通过HTTP创建/查询/修改数据库,而不会出现问题。OrientDB抱怨内存不足,仅此而已:

警告没有足够的物理内存:437MB(堆= 123MB)。设置较低的堆并重新启动OrientDB。现在以DISKCACHE = 64MB运行

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章