ITPub博客

首页 > 数据库 > Oracle > 如何处理Jdeveloper 启动时出现的错误-Unable to create an instance

如何处理Jdeveloper 启动时出现的错误-Unable to create an instance

原创 Oracle 作者:贾三灌汤包 时间:2016-08-02 17:34:05 0 删除 编辑

启动Jdeveloper时,会弹出错误信息

Unable to create an instance of the Java Virtual Machine
Located at path:
C:/Oracle/Middleware/home_11gR1/jdk160_18/jre/bin/client/jvm.dll

 

如何处理呢?修改JdevHome下的jdev.conf文件,如我的jdevd的文件就保存在C:/Oracle/Middleware/jdev_11gR1/jdeveloper/jdev/bin中。

 

修改启动时所需内存大小

orginal:
# MaxPermSize is required to run JDeveloper with Sun Microsystems virtual
# machine (-client and -server).  The default value is 64M, which isn't
# enough to run JDeveloper successfully.  With the default value, JDeveloper
# will end up running out of memory at some point in time.  For technical
# details, see: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
#
AddVMOption  -XX:MaxPermSize=256M

 

在此行后添加

AddVMOption  -Xmx256M
AddVMOption  -Xms128M

 

重新启动Jdevelop即可。如果有内存不足的提示,修改最小和最大内存大小

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22816976/viewspace-2122869/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-11-03

  • 博文量
    128
  • 访问量
    294227