on-internet
← Community

java.lang.OutOfMemoryError: Java heap space ("-Xmx1280M")

Stack Overflow ·

java.lang.OutOfMemoryError: Java heap space Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space I am getting this error my system RAM is 3GB and I have given -Xmx1280M. Still, I am getting this error. In some other machine with 2GB RAM and -Xmx1280M option, this error is not coming (Same operation). What can be the problem? I am using java VisualVM to track which objects are taking memory but heap which is generating at OOME is very big. It is taking very much time to load the heap and "Computing Retained Size" seems to be never ending. What should I do t

Comments

Sign in or sign up to comment and upvote.

No comments yet.