1

I have a fuse box application which is working very slow from some days and got stop working after 4-5 hours. I have tried to find the problem and one problem i found that the memory of server is full and found that JVM is taking full ram. I have 8 gb RAM on server.

cpu and memory usage screen shot

Here is the process detail from task Manager

enter image description here

Here is my JVM arguments:

-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.sessioncookie.httponly=true -XX:-UseGCOverheadLimit -Dcoldfusion.disablejsafe=true

The minimum heap size is 1024 and max heap size is 2048.

Can any one suggest any better settings which would help me to fix it?

Abdul Rauf
  • 763
  • 2
  • 8
  • 28
  • Try to find the job that's causing it and do something about it. – Dan Bracuk Jan 16 '17 at 17:02
  • #Dan Bracuk. thanks for your reply. By job means schedule task of coldfusion? – Abdul Rauf Jan 16 '17 at 17:06
  • 2
    By job I mean the .cfm or .cfc file. It doesn't matter whether or not it's scheduled. – Dan Bracuk Jan 16 '17 at 17:11
  • You may want to try adding some logging to any file/function you think may be the culprit. If you are doing any threading you may want to start there. If you made a recent change and are using version control you may want to revert the changes to see if that solves the issue. – Caleb Palmquist Jan 17 '17 at 03:28
  • Thanks #Dan and #isMayoAVariable. Yes, i am already finding piece of code which is doing it. But i found nothing, i still think, it is the issue of something else. I have seen that, the database server is also taking full RAM. – Abdul Rauf Jan 17 '17 at 10:44
  • It might be an inpatient user submitting multiple page requests. That's happened to us. – Dan Bracuk Jan 17 '17 at 12:29
  • #Dan Bracuk. There are some emails sending code which was sending zip with out reason. Which i have removed and made some settings in templates has decrease almost 2gb of memory use of JRUN. Now i am facing new error which i was facing earlier. I am editing my question with screen shot. – Abdul Rauf Jan 17 '17 at 13:18
  • How did you arrive at "The minimum heap size is 1024 and max heap size is 2048." ithere is nothing specific in vm arguments, you should use -Xms znd -Xmx argument values to specify that. – Fairoz Jan 17 '17 at 13:55
  • #Fairoz, There is separate setting of this in coldfusion 9. – Abdul Rauf Jan 17 '17 at 13:57
  • Please undo your edit and submit a new question with the new problem. – Dan Bracuk Jan 17 '17 at 15:24
  • #Dan. I already submit a new question. http://stackoverflow.com/questions/41698592/a-timeout-occur-while-attempting-to-local-fusebox – Abdul Rauf Jan 17 '17 at 15:31

0 Answers0