At the system level, you can look at not just how much memory a process is using, but where it is using the memory, in detail. Use pmap… First find the process id: [root@jbtest ~]# ps -ef | grep java bbod 11987 11929 0 Feb29 ? 00:04:03 /opt/jdk/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx2048m -XX:MaxPermSize=256m -Dcom.test.cookiedomain=test.com -Dtangosol.mode=prod…
Continue Readingjboss
checking inside rpms
Nine years ago I was trying to find which RPM contained the executable “cluconfig” for configuring clustering – I made these notes on looking for a file in rpms SUMMARY: needed cluconfig for Cluster Manager – searched for cluconfig in install disks for RHAS NOTES: mount the disk, cd to RPMS directory, run: for i…
Continue ReadingPermGen space error in jBoss
“java.lang.OutOfMemoryError: PermGen space” First the application was acting really slow and sluggish, then stopped responding – in looking at the log we saw “java.lang.OutOfMemoryError: PermGen space” as soon as the application was accessed. The resolution was to set “-XX:MaxPermSize=128m” in the startup script. to the string sizing the jBoss server is now: “-server -Xms256m…
Continue Reading