Upgrading the JRE used by ColdFusion

前端 未结 4 1615
暗喜
暗喜 2021-01-19 19:43

I have a ColdFusion 8.1 application. It gets heavy use and I see jrun.exe getting very high memory usage in the task manager. This is a 32-bit windows 2003 server. When Jrun

4条回答
  •  失恋的感觉
    2021-01-19 20:28

    Consider moving Java 7. Java 7 has the G1 Garbage collector which is better at memory deallocation.
    If you are having out of memory issues it could be because

  • functions are not using var or local scope
  • is used in a production system
  • Sessions are too large or are not set to expire in a reasonable amount of time
  • Queries are way too large SELECT * can cause that.
  • Excessive number Query of Queries.
  • The site is connecting to a slow database. Resources are held until the DB returns data
  • DSN has the data buffer set to more than 64k

提交回复
热议问题