增加sqlworkbench/J的堆大小 [英] Increase heap size for sqlworkbench/J

查看:62
本文介绍了增加sqlworkbench/J的堆大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何增加SqlWorkbench/J的堆大小?

How do we increase heap size for SqlWorkbench/J?

我尝试了不同的选项,但大多数都说要在以下命令中执行:-

I have tried different options but most of it says to execute below command :-

java -Xmx4g -jar sqlworkbench.jar

甚至在 http://www.sql-workbench上也可以.net/manual/install.html#install-increase-memory ,它为我提供了此解决方案.

Even on http://www.sql-workbench.net/manual/install.html#install-increase-memory , it provides me this solution.

现在,我正在使用Macbook.所以我只有sqlworkbench.app文件.我没有sqlworkbench的任何.ini文件或.jar文件.

Now, I am using macbook. So I have sqlworkbench.app file only. I neither have any .ini file or .jar file for sqlworkbench.

那么,如何增加内存大小?

So, how do increase memory size?

推荐答案

我在Macbook pro的应用程序文件夹中的任何位置都找不到info.plist文件.当我搜索Info.plist时,只能找到与Microsoft Office相关的信息.

I could not find the info.plist file any where in the application folder on my Macbook pro. When I searched for Info.plist, I could find only the Microsoft Office related one.

我右键单击桌面上的sql workbench J图标,然后选择显示包内容".我终于可以在那里找到Info.plist文件了!我将堆大小从512mb更改为4096 mb.

I right clicked the sql workbench J icon on the desktop, and selected Show package contents. I could finally find the Info.plist file there!! I changed the heap size there from 512mb to 4096 mb.

<string>-Xmx4096m</string>

这篇关于增加sqlworkbench/J的堆大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆