问题如下:
该程序原本在web project下面 为java调用dll,在加大虚拟机内存后 运行不出错,在未加内存时 会出
An unrecoverable stack overflow has occurred.
现将web项目改造去可执行jar包程序,将原代码改造并写入main方法内,在调用dll时,会出
An unrecoverable stack overflow has occurred.
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x03b7c9e7, pid=10888, tid=13904
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [ProtocolAnalyse.dll+0x2bc9e7]
#
# An error report file with more information is saved as:
# D:\workspace\PPQ-SocketService\hs_err_pid10888.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#已经在debugconfigurations内增加-xms -xmx等配置 问题依然存在。
由于项目嵌套线程较多,代码无法粘贴。求大神提供解决方案。
在线等!