为了账号安全,请及时绑定邮箱和手机立即绑定

编写 Python Flask API 时出现 JAVA 致命错误

编写 Python Flask API 时出现 JAVA 致命错误

慕沐林林 2021-10-28 09:32:03
我制作了flask + python + zerodb afgh => afgh api并使用postman测试api,但调用afgh方法时出现java致命错误zerodb afgh 是使用 jar 的 python 代码我试着 ulimit -c unlimited export _JAVA_OPTIONS=-Xmx4096m但它不起作用。我的环境:windows10、ubuntu 16.04(安装windows应用)、16G内存、python2.7、java我的错误:# A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x00007f989dec6d70, pid=5720, tid=0x00007f9889400700## JRE version: OpenJDK Runtime Environment (8.0_181-b13) (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)# Java VM: OpenJDK 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)# Problematic frame:# C  [_jpype.so+0x2fd70]  JPJavaEnv::FindClass(char const*)+0x20## Core dump written. Default location: /mnt/c/Users/hs/test/flaskrest/core or core.5720## If you would like to submit a bug report, please visit:#   http://bugreport.java.com/bugreport/crash.jsp#更多日志:https : //github.com/rkdlrl/flaskrest/blob/master/hs_err_pid5720.log
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 162 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信