Hi friends
I am getting java.lang.OutOfMemoryError: Java heap space error.I read the many threads regarding this
System.out.println("Java memory in use = " + ((Runtime.getRuntime().totalMemory()) - (Runtime.getRuntime().freeMemory())));
at the begining of the program i got
Java memory in use = 10939448
at the end of program i got
Java memory in use = 44747512
-Xms512m -Xmx512m ble bla ......
Please help me to sort out my problem
thanks in advance