we are working on a educational OJ .We are facing difficulty finding total memory used by a java code in Linux (CenOS). As Linux process table shows the sum of the JVM memory and the code memory.How can I find the specific memory used by a java code ??????
please help.