JVM [英] Jvm
问题描述
大家好,
我的java程序中有JVM OutOfMemory错误。这是什么?
如何解决?
谢谢,
Hi All,
I have JVM OutOfMemory Error in my java program. What is this?
How can i resolve it?
Thanks,
推荐答案
大家好,
我的java程序中有JVM OutOfMemory错误。这是什么?
如何解决?
谢谢,
Hi All,
I have JVM OutOfMemory Error in my java program. What is this?
How can i resolve it?
Thanks,
这正是它所说的。你只是内存不足。
原因可能是你的代码中的某个地方无限循环导致内存耗尽,或者只是你的程序需要大量的内存需求操作。
如果您的代码不是太长,您可以在报告错误的区域周围发布代码。
如果您的代码没问题,那么您可以考虑在运行时增加堆大小你的程序。
It is exactly what it says. You are simply running out of memory.
The reasons could be an infinite loop somewhere in your code causing memory to be used up or simply that your program does extensive memory demanding operations.
If your code is not too long you can post the code around the area that''s being reported for the error.
If your code is fine then you can consider increasing the heap size when running your program.
大家好,
我的java程序中有JVM OutOfMemory错误。这是什么?
如何解决?
谢谢,
Hi All,
I have JVM OutOfMemory Error in my java program. What is this?
How can i resolve it?
Thanks,
这意味着您的应用程序需要更多的内存虽然它已经使用了所有可用内存的
。你的应用程序中某处有内存泄漏。
如果没有看到你的应用,我们就不能说更具体的了。
亲切问候,
Jos
It means that your application wants even more memory while it already had used
all the available memory. You have a ''memory leak'' somewhere in your application.
Without seeing your appliation we can''t say anything more specific.
kind regards,
Jos
我还没有咖啡,所以这个不算数;-)
亲切的问候,
Jos
I didn''t have my espresso yet, so this one doesn''t count ;-)
kind regards,
Jos
这篇关于JVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!