Out ofmemory

600 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
600
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Out ofmemory

  1. 1. You got an OutofMemoryException, now what? Andres Olarte Nick Rodriguez 4/16/10
  2. 2. Iden%fying  the  problem     Memory  related  problems     Performance  issues     Stability  issues     Frontend  vs.  backend  issues     Tools  to  examine  the  system     JMX     Logs   4/16/10
  3. 3. Crea%ng  a  baseline     Simula%ng  traffic     Using  access  logs  as  test  base     Examining  the  memory  usage     Crea%ng  reproducible  tests     Tools  for  the  job     Comparing  results   4/16/10
  4. 4. Understanding  the  System     Java  memory  management     Garbage  collec%on     Memory  u%liza%on  in  dotCMS     Database  usage  in  dotCMS     Common  boKlenecks   4/16/10
  5. 5. Memory  issues     JVM  memory  configura%on     Cache  configura%on     Regions  and  their  sizes     Time  to  live     Per  request  memory  usage     Per  session  memory  usage   4/16/10
  6. 6. Performance  issues     Per  page  performance     System-­‐wide  performance     Garbage  collec%on     hKp  vs  hKps     Resource  u%liza%on     Database  connec%ons     Client  connec%ons   4/16/10
  7. 7. Best  prac%ces     Assign  as  much  memory  as  possible     Use  as  liKle  memory  as  possible     Limit  the  amount  of  data  used  per  page     If  benchmarking,  change  one  variable  at  a   %me     4/16/10
  8. 8. Thank you!! 4/16/10

×