Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

java.lang.outofmemoryerror



I am getting "java.lang.outofmemoryerror" , when I am trying to access an application. It looks like memory space is running short. How can I check what existing heapsize memory is ? Sopmebody advised me to use "java -Xmx" on the command line. I am not sure whats the current heapsize memory is. So how can I check this ?

thanks