java.lang.outofmemoryerror:dbeaver中的java堆空间 - 打开sqlite数据库作为文件时

发布于 2025-01-25 14:43:20 字数 299 浏览 3 评论 0原文

首先,我使用的是Dbeaver的便携式版本。然后,我决定安装它。 (两者都是社区版) 在这两种情况下,我都编辑了dbeaver.ini文件(多次)逐渐增加内存,以查看是否有效。最后,我尝试设置此设置:-XMX100000M(〜100GB的RAM!),并且没有错误就不会打开。我安装了32GB RAM,最初确实将设置保留在实际的Max RAM下,但后来我想:“什么哎呀?让它缓存到SSD。”但这仍然没有用!

SQLITE数据库仅超过2GB。对于数据库来说,有点大,但肯定并不罕见。

诚然,这只是我第一次使用dbeaver和sqlite,因此可能是用户错误。

First I was using the portable version of dbeaver. Then, I decided to install it.
(both are community edition)
In both cases I edited the dbeaver.ini file (multiple times) incrementally increasing memory to see if anything would work. Finally I tried setting this: -Xmx100000m (~100GB of RAM!) and it still wouldn't open without the error. I have 32GB RAM installed and I did initially keep the setting under my actual max RAM, but then I thought, "What the heck? Let it cache to the SSD." But it still didn't work!

The sqlite database is only a little over 2GB. A little big but surely not unusual for a database.

Admittedly, this is just about my first time using dbeaver and sqlite so it's probably user error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文