java.lang.outofmemoryerror:dbeaver中的java堆空间 - 打开sqlite数据库作为文件时
首先,我使用的是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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论