Practical Lessons in Memory Analysis

Size: px
Start display at page:

Download "Practical Lessons in Memory Analysis"

Transcription

1 Practical Lessons in Memory Analysis Krum Tsvetkov SAP AG Andrew Johnson IBM United Kingdom Limited

2 GOAL > Learn practical tips and tricks for the analysis of common memory-related problems 2

3 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 3

4 Why Care about Memory? > Memory is a crucial resource > Excessive memory usage can cause: Crashes in the application Unresponsive applications Unpredictable program behavior > Memory analysis is complicated 4

5 How Will This Session Help Me? > Present common memory-related issues > Give hints how to solve them using heap dumps and Memory Analyzer > Show many demos using real-life heap dumps > Show how to simplify analysis by automating it 5

6 Heap Dumps Are Useful for Analysis > Heap dumps come for free > They are suitable for production > The comprehensive data allows detailed analysis > There is a wide platform coverage HPROF dumps from HotSpot based JVMs DTFJ and PHD dumps from IBM JVMs 6

7 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 7

8 First, Collect Data For Analysis > Enable heap dumps on OutOfMemoryError > Trigger heap dumps on demand if needed > How-to for getting a heap dump: 8

9 How to Get a Good Heap Dump? Max Heap Min Heap Processing Space Base Memory > When memory is exhausted the leak will occupy most of the processing space > Ensure big enough processing space, this will make the leak easier to find 9

10 How to Analyze Memory Leaks > Find the biggest objects > Analyze why they are kept in memory > Analyze what makes them big 10

11 DEMO > Analysis of a Memory Leak 11

12 How the Leak Analysis Was Done > Got a good heap dump > Found the biggest objects (in the dominator tree) > Analyzed who kept them alive (using paths) > Analyzed what made them big (looking at their retained set) > Used Leak Report to automate the analysis 12

13 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 13

14 What Is a Heavy Request? > An expensive operation which can cause an OutOfMemoryError > Acute rather than a chronic problem > Examples: Reading a big file in memory not in chunks Try to load a whole DB table in memory 14

15 Inspect the Thread to Find Its Activity > Look at the thread attributes - name, class, etc... > Look at the local variables > Look at the stack of the thread 15

16 DEMO > Analysis of a Heavy Request 16

17 How Thread Activity Was Analyzed > Inspected thread attributes and local variables (in object explorer) > Analyzed stack trace 17

18 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 18

19 Why is Memory Footprint Important? Max Heap Min Heap Processing Space Base Memory > A lower memory footprint can improve: The scaling of an application / server Performance by increasing the time between GCs 19

20 Find Where Footprint Can Be Optimized > Inspect the set of retained objects > Search for inefficiently used data structures > Look for redundant data 20

21 DEMO > Analysis of High Memory Footprint 21

22 How Memory Footprint Was Analyzed > Analyzed retained objects (in dominator tree, retained set) > Used Group by Value to find redundant objects > Used the commands from the Collections group > Used Component Report to automate the analysis 22

23 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 23

24 Non-heap Memory Can Be Exhausted > What is in the non-heap memory? Metadata for classes Interned Strings (for some JVMs) > How can it be exhausted? Too many interned Strings Classes packaged and loaded multiple times Class loaders which are not properly released 24

25 Why Is a Class Loader Not Released? > The trivial case there is a normal reference to it > A common case it is the context class loader of a thread > The registry problem one instance is enough 25

26 How to Analyze Leaking Class Loaders > Find classes loaded more than once > Find redundant loaders by their name > Look at the paths to the suspect class loaders 26

27 DEMO > Analyzing Leaking Class Loaders 27

28 How Was the Leaking Class Loaders Analysis Done > Used the Duplicate Classes query > Found the loaders that load redundant classes > Analyzed why they are not released (using paths) 28

29 Agenda > Introduction > Analyzing Memory Leaks > Analyzing a Heavy Request > Reducing Memory Footprint > Non-heap Memory > Summary > Q & A 29

30 Summary > Heap dumps are very helpful for memory analysis > Memory Analyzer offers rich analysis feature set > The analysis can often be automated 30

31 Questions and Answers > Memory Analyzer Eclipse 31

32 Krum Tsvetkov Andrew Johnson 32

AUTOMATED HEAPDUMP ANALYSIS FOR DEVELOPERS, TESTERS, AND SUPPORT EMPLOYEES

AUTOMATED HEAPDUMP ANALYSIS FOR DEVELOPERS, TESTERS, AND SUPPORT EMPLOYEES AUTOMATED HEAPDUMP ANALYSIS FOR DEVELOPERS, TESTERS, AND SUPPORT EMPLOYEES Krum Tsvetkov Andreas Buchen TS-5729 Find memory leaks WITHOUT working with Memory Analyzer 2008 JavaOne SM Conference java.sun.com/javaone

More information

Eclipse Memory Analyzer Graduation, Move and 1.0 Release Review

Eclipse Memory Analyzer Graduation, Move and 1.0 Release Review Eclipse Memory Analyzer Graduation, Move and 1.0 Release Review Review Date: 28 April 2010 Community Channel: mailto:mat-dev@eclipse.org http://www.eclipse.org/forums/index.php?t=thread&frm_id=62& Author:

More information

Eclipse Memory Analyzer Release Review 0.8

Eclipse Memory Analyzer Release Review 0.8 Eclipse Memory Analyzer Release Review 0.8 Review Date: May 29, 2008 Community Channel: mailto:mat-dev@eclipse.org http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.memory-analyzer

More information

Java performance - not so scary after all

Java performance - not so scary after all Java performance - not so scary after all Holly Cummins IBM Hursley Labs 2009 IBM Corporation 2001 About me Joined IBM Began professional life writing event framework for WebSphere 2004 Moved to work on

More information

Effective Java Heap Memory Analysis on Enterprise-Scale SAP Memory Analyzer. Vedran Lerenc, SAP NetWeaver Java Server Technology October 11th 2007

Effective Java Heap Memory Analysis on Enterprise-Scale SAP Memory Analyzer. Vedran Lerenc, SAP NetWeaver Java Server Technology October 11th 2007 Effective Java Heap Memory Analysis on Enterprise-Scale SAP Memory Analyzer Vedran Lerenc, SAP NetWeaver Java Server Technology October 11th 2007 Memory 101 Heap MB Full Garbage Collection 2 a.m. Out Of

More information

Eclipse Memory Analyzer Release Review

Eclipse Memory Analyzer Release Review Eclipse Memory Analyzer Release Review Review Date: Dec 10, 2008 Community Channel: mailto:mat-dev@eclipse.org http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.memory-analyzer Author:

More information

Basic Steps and Features Walk-through

Basic Steps and Features Walk-through Welcome to the SAP Memory Analyzer SAP Memory Analyzer: Basic Steps and Features Walk-through SAP AG 2007, Memory Analysis with SAP Memory Analyzer / 1 Basic Steps with SAP Memory Analyzer (1) Get Heap

More information

IBM Monitoring and Diagnostic Tools for Java TM...

IBM Monitoring and Diagnostic Tools for Java TM... IBM Monitoring and Diagnostic Tools for Java TM... Brian Peacock IBM Java Technology Centre Agenda Introduce the family of Java consumability tools Usage scenarios Health Center Overview Demo 2 IBM Monitoring

More information

SAP Memory Analyzer: Multi-Gigabyte Java Heap Dumps Are Nothing to Fear Now

SAP Memory Analyzer: Multi-Gigabyte Java Heap Dumps Are Nothing to Fear Now SAP Memory Analyzer: Multi-Gigabyte Java Heap Dumps Are Nothing to Fear Now Applies to: Java development in general Summary SAP has developed a tool for Java memory analysis which is helpful to all Java

More information

Scalable Post-Mortem Debugging Abel Mathew. CEO -

Scalable Post-Mortem Debugging Abel Mathew. CEO - Scalable Post-Mortem Debugging Abel Mathew CEO - Backtrace amathew@backtrace.io @nullisnt0 Debugging or Sleeping? Debugging Debugging: examining (program state, design, code, output) to identify and remove

More information

ProdDiagNode - Version: 1. Production Diagnostics for Node Applications

ProdDiagNode - Version: 1. Production Diagnostics for Node Applications ProdDiagNode - Version: 1 Production Diagnostics for Node Applications Production Diagnostics for Node Applications ProdDiagNode - Version: 1 2 days Course Description: Node.js, the popular cross-platform

More information

Lesson 2 Dissecting Memory Problems

Lesson 2 Dissecting Memory Problems Lesson 2 Dissecting Memory Problems Poonam Parhar JVM Sustaining Engineer Oracle Agenda 1. Symptoms of Memory Problems 2. Causes of Memory Problems 3. OutOfMemoryError messages 3 Lesson 2-1 Symptoms of

More information

ORACLE ENTERPRISE MANAGER 10g ORACLE DIAGNOSTICS PACK FOR NON-ORACLE MIDDLEWARE

ORACLE ENTERPRISE MANAGER 10g ORACLE DIAGNOSTICS PACK FOR NON-ORACLE MIDDLEWARE ORACLE ENTERPRISE MANAGER 10g ORACLE DIAGNOSTICS PACK FOR NON-ORACLE MIDDLEWARE Most application performance problems surface during peak loads. Often times, these problems are time and resource intensive,

More information

How to keep capacity predictions on target and cut CPU usage by 5x

How to keep capacity predictions on target and cut CPU usage by 5x How to keep capacity predictions on target and cut CPU usage by 5x Lessons from capacity planning a Java enterprise application Kansas City, Sep 27 2016 Stefano Doni stefano.doni@moviri.com @stef3a linkedin.com/in/stefanodoni

More information

Application Management Webinar. Daniela Field

Application Management Webinar. Daniela Field Application Management Webinar Daniela Field Agenda } Agile Deployment } Project vs Node Security } Deployment } Cloud Administration } Monitoring } Logging } Alerting Cloud Overview Cloud Overview Project

More information

Architecting & Tuning IIB / extreme Scale for Maximum Performance and Reliability

Architecting & Tuning IIB / extreme Scale for Maximum Performance and Reliability Architecting & Tuning IIB / extreme Scale for Maximum Performance and Reliability Suganya Rane Solution Architect Prolifics Agenda Introduction Challenge: The need for Speed & Scalability - WXS Extreme

More information

Troubleshooting Memory Problems in Java Applications

Troubleshooting Memory Problems in Java Applications Troubleshooting Memory Problems in Java Applications Poonam Parhar Consulting Member of Technical Staff JVM Sustaining Engineer, Oracle Safe Harbor Statement The following is intended to outline our general

More information

Debugging Your Production JVM TM Machine

Debugging Your Production JVM TM Machine Debugging Your Production JVM TM Machine Ken Sipe Perficient (PRFT) kensipe@gmail.com @kensipe Abstract > Learn the tools and techniques used to monitor, trace and debugging running Java applications.

More information

Don t Dump Thread Dumps. Ram Lakshmanan

Don t Dump Thread Dumps. Ram Lakshmanan Don t Dump Thread Dumps Ram Lakshmanan Don t Dump Thread Dumps Ram Lakshmanan Founder GCeasy.io & fastthread.io Agenda How to take Thread Dumps? Anatomy of Thread Dump Troubleshooting Real world problems

More information

A JVM Does What? Eva Andreasson Product Manager, Azul Systems

A JVM Does What? Eva Andreasson Product Manager, Azul Systems A JVM Does What? Eva Andreasson Product Manager, Azul Systems Presenter Eva Andreasson Innovator & Problem solver Implemented the Deterministic GC of JRockit Real Time Awarded patents on GC heuristics

More information

Manjunath Subburathinam Sterling L2 Apps Support 11 Feb Lessons Learned. Peak Season IBM Corporation

Manjunath Subburathinam Sterling L2 Apps Support 11 Feb Lessons Learned. Peak Season IBM Corporation Manjunath Subburathinam Sterling L2 Apps Support 11 Feb 2014 Lessons Learned Peak Season Agenda PMR Distribution Learnings Sterling Database Miscellaneous 2 PMR Distribution Following are the areas where

More information

IBM WebSphere Application Server Network Deployment V7.0 Core Administration. Version: Demo

IBM WebSphere Application Server Network Deployment V7.0 Core Administration. Version: Demo IBM C2180-377 IBM WebSphere Application Server Network Deployment V7.0 Core Administration Version: Demo Question: 1 An administrator would like to use the Centralized Installation Manager (CIM) to install

More information

Inside IBM Java7. Neil Masson Java Service Technical Lead IBM

Inside IBM Java7. Neil Masson Java Service Technical Lead IBM Inside IBM Java7 Neil Masson Java Service Technical Lead IBM 1 Please Note IBM's statements regarding its plans, directions, and intent are subject to change or withdrawal at IBM's sole discretion. Information

More information

Correlating efficiently

Correlating efficiently Correlating efficiently Rob Block Lead Engineer, ArcSight Correlation Agenda Introduction Filters Real time correlation Reporting Trends to rescue Q & A 2 Introduction Correlating efficiently: Goals Understand

More information

Attila Szegedi, Software

Attila Szegedi, Software Attila Szegedi, Software Engineer @asz Everything I ever learned about JVM performance tuning @twitter Everything More than I ever wanted to learned about JVM performance tuning @twitter Memory tuning

More information

Debugging the New Java. Topics. Introduction Overview of the new Virtual Machine IBM i extras Cross-platform debug capabilities Interactive debug

Debugging the New Java. Topics. Introduction Overview of the new Virtual Machine IBM i extras Cross-platform debug capabilities Interactive debug Agenda Key: Session Number: 26MJ 550503 Debugging the New Java Tim Rowe Web Integration on i T/L timmr@us.ibm.com 8 Copyright IBM Corporation, 2009. All Rights Reserved. This publication may refer to products

More information

BEAJRockit Mission Control. JRockit Memory Leak Detector User Guide

BEAJRockit Mission Control. JRockit Memory Leak Detector User Guide BEAJRockit Mission Control JRockit Memory Leak Detector User Guide 1.0 July 2006 Copyright Copyright 1995-2006 BEA Systems, Inc. All Rights Reserved. Restricted Rights Legend This software is protected

More information

MemoryLint. Petr Nejedlý, Radim Kubacki SUN Microsystems, BOF-9066

MemoryLint. Petr Nejedlý, Radim Kubacki SUN Microsystems,   BOF-9066 MemoryLint Petr Nejedlý, Radim Kubacki SUN Microsystems, http://www.sun.com/, http://www.netbeans.org BOF-9066 2007 JavaOne SM Conference Session BOF-9066 Goal Get ideas how to analyze content of Java

More information

2017 ej-technologies GmbH. All rights reserved. JProfiler Manual

2017 ej-technologies GmbH. All rights reserved. JProfiler Manual 2017 ej-technologies GmbH. All rights reserved. JProfiler Manual Index JProfiler help... 8 How to order... 9 A Help topics... 10 A.1 Profiling... 10 A.1.1 Profiling modes... 10 A.1.2 Remote profiling...

More information

Bridging Organizational Gaps with Monitoring: ITM/ITCAM for WebSphere Production Applications

Bridging Organizational Gaps with Monitoring: ITM/ITCAM for WebSphere Production Applications IBM WebSphere Software Bridging Organizational Gaps with Monitoring: ITM/ITCAM for WebSphere Production Applications Mike Polan (mpolan@ca.ibm.com) Lewis Lo (lewisl@ca.ibm.com) Winfield Choi (winchoi@ca.ibm.com)

More information

The dangerous Beauty of Bookmark Lookups

The dangerous Beauty of Bookmark Lookups The dangerous Beauty of Bookmark Lookups Klaus Aschenbrenner Microsoft Certified Master SQL Server 2008 Twitter: @Aschenbrenner About me CEO & Founder SQLpassion International Speaker, Blogger, Author

More information

Firebird databases recovery and protection for enterprises and ISVs. Alexey Kovyazin, IBSurgeon

Firebird databases recovery and protection for enterprises and ISVs. Alexey Kovyazin, IBSurgeon Firebird databases recovery and protection for enterprises and ISVs Alexey Kovyazin, IBSurgeon www.ib-aid.com About IBSurgeon Tools and consulting Platinum Sponsor of Firebird Foundation Founded in 2002

More information

Java Performance Tuning From A Garbage Collection Perspective. Nagendra Nagarajayya MDE

Java Performance Tuning From A Garbage Collection Perspective. Nagendra Nagarajayya MDE Java Performance Tuning From A Garbage Collection Perspective Nagendra Nagarajayya MDE Agenda Introduction To Garbage Collection Performance Problems Due To Garbage Collection Performance Tuning Manual

More information

JVM Memory Model and GC

JVM Memory Model and GC JVM Memory Model and GC Developer Community Support Fairoz Matte Principle Member Of Technical Staff Java Platform Sustaining Engineering, Copyright 2015, Oracle and/or its affiliates. All rights reserved.

More information

Typical Issues with Middleware

Typical Issues with Middleware Typical Issues with Middleware HrOUG 2016 Timur Akhmadeev October 2016 About Me Database Consultant at Pythian 10+ years with Database and Java Systems Performance and Architecture OakTable member 3 rd

More information

Don t Dump Thread Dumps. Ram Lakshmanan Founder GCeasy.io & fastthread.io

Don t Dump Thread Dumps. Ram Lakshmanan Founder GCeasy.io & fastthread.io Don t Dump Thread Dumps Ram Lakshmanan Founder GCeasy.io & fastthread.io Agenda How to take Thread Dumps? Anatomy of Thread Dump Troubleshooting Real world problems through Patterns Sudden CPU spikes OutOfMemoryError

More information

A NEW PLATFORM FOR A NEW ERA. Copyright 2014 Pivotal. All rights reserved.

A NEW PLATFORM FOR A NEW ERA. Copyright 2014 Pivotal. All rights reserved. A NEW PLATFORM FOR A NEW ERA 1 2 Java Memory Leaks in Modular Environments Mark Thomas November 2016 Introductions Mark Thomas markt@apache.org Tomcat committer and PMC member Joined Tomcat community in

More information

IBM VisualAge for Java,Version3.5. Distributed Debugger for Workstations

IBM VisualAge for Java,Version3.5. Distributed Debugger for Workstations IBM VisualAge for Java,Version3.5 Distributed Debugger for Workstations Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice

More information

Welcome to the session...

Welcome to the session... Welcome to the session... Copyright 2013, Oracle and/or its affiliates. All rights reserved. 02/22/2013 1 The following is intended to outline our general product direction. It is intended for information

More information

1 Performance Optimization in Java/J2EE

1 Performance Optimization in Java/J2EE 1 Performance Optimization in Java/J2EE 1.1 Java Server Technology (J2EE) Fundamentals 1.1.1 Overview To reduce costs and fast-track enterprise application design and development, the Java 2 Platform,

More information

PERFVIEW..NET runtime performance and ETW event analysis tool

PERFVIEW..NET runtime performance and ETW event analysis tool PERFVIEW.NET runtime performance and ETW event analysis tool OVERVIEW Formerly from Vance Morrison (.NET performance architect) Open-source Performance-analysis tool Can be used to investigate CPU and

More information

Noopur Gupta Eclipse JDT/UI Committer IBM India

Noopur Gupta Eclipse JDT/UI Committer IBM India Noopur Gupta Eclipse JDT/UI Committer IBM India noopur_gupta@in.ibm.com 1 2 3 Show Workspace Location in the Title Bar (-showlocation) OR 4 Show Workspace Name in the Title Bar (Window > Preferences >

More information

ANALYZING THE MOST COMMON PERFORMANCE AND MEMORY PROBLEMS IN JAVA. 18 October 2017

ANALYZING THE MOST COMMON PERFORMANCE AND MEMORY PROBLEMS IN JAVA. 18 October 2017 ANALYZING THE MOST COMMON PERFORMANCE AND MEMORY PROBLEMS IN JAVA 18 October 2017 Who am I? Working in Performance and Reliability Engineering Team at Hotels.com Part of Expedia Inc, handling $72billion

More information

A new Mono GC. Paolo Molaro October 25, 2006

A new Mono GC. Paolo Molaro October 25, 2006 A new Mono GC Paolo Molaro lupus@novell.com October 25, 2006 Current GC: why Boehm Ported to the major architectures and systems Featurefull Very easy to integrate Handles managed pointers in unmanaged

More information

What Is NetBeans? Free and open-source based > Open source since June, 2000 > Large community of users and developers

What Is NetBeans? Free and open-source based > Open source since June, 2000 > Large community of users and developers Page 1 Slide 1: title and presenter's name Slide 2: topic intro - what product/technology is Slide 3: topic intro - who is the target market (be very as specific as possible: e.g. geo, developer type,

More information

EMC DOCUMENTUM XTENDER DOMINO NSD ANALYSIS

EMC DOCUMENTUM  XTENDER DOMINO NSD ANALYSIS White Paper EMC DOCUMENTUM EMAILXTENDER DOMINO NSD ANALYSIS Abstract IBM Lotus Domino being one of the supporting email servers by EmailXtender can experience issues related to crash or hangs which could

More information

Last week, David Terei lectured about the compilation pipeline which is responsible for producing the executable binaries of the Haskell code you

Last week, David Terei lectured about the compilation pipeline which is responsible for producing the executable binaries of the Haskell code you Last week, David Terei lectured about the compilation pipeline which is responsible for producing the executable binaries of the Haskell code you actually want to run. Today, we are going to look at an

More information

Lecture Notes on Garbage Collection

Lecture Notes on Garbage Collection Lecture Notes on Garbage Collection 15-411: Compiler Design André Platzer Lecture 20 1 Introduction In the previous lectures we have considered a programming language C0 with pointers and memory and array

More information

Progress & Challenges for Virtual Memory Management Kathryn S. McKinley

Progress & Challenges for Virtual Memory Management Kathryn S. McKinley Progress & Challenges for Virtual Memory Management Kathryn S. McKinley Microsoft Research 1! The Storage Gap Petabytes 50,000,000! 40,000,000! 30,000,000! 20,000,000! 10,000,000! 0! Digital Universe

More information

Fundamentals of GC Tuning. Charlie Hunt JVM & Performance Junkie

Fundamentals of GC Tuning. Charlie Hunt JVM & Performance Junkie Fundamentals of GC Tuning Charlie Hunt JVM & Performance Junkie Who is this guy? Charlie Hunt Currently leading a variety of HotSpot JVM projects at Oracle Held various performance architect roles at Oracle,

More information

Systems software design. Software build configurations; Debugging, profiling & Quality Assurance tools

Systems software design. Software build configurations; Debugging, profiling & Quality Assurance tools Systems software design Software build configurations; Debugging, profiling & Quality Assurance tools Who are we? Krzysztof Kąkol Software Developer Jarosław Świniarski Software Developer Presentation

More information

Overview and Demonstration

Overview and Demonstration IBM Software Group Overview and Demonstration IBM Corporation Harley Davidson Agenda Overview Demonstration Create a Form Forms within a portal Futures Summary IBM Software Group Manual Forms create challenges

More information

G1 Garbage Collector Details and Tuning. Simone Bordet

G1 Garbage Collector Details and Tuning. Simone Bordet G1 Garbage Collector Details and Tuning Who Am I - @simonebordet Lead Architect at Intalio/Webtide Jetty's HTTP/2, SPDY and HTTP client maintainer Open Source Contributor Jetty, CometD, MX4J, Foxtrot,

More information

THE TROUBLE WITH MEMORY

THE TROUBLE WITH MEMORY THE TROUBLE WITH MEMORY OUR MARKETING SLIDE Kirk Pepperdine Authors of jpdm, a performance diagnostic model Co-founded Building the smart generation of performance diagnostic tooling Bring predictability

More information

10/26/2017 Universal Java GC analysis tool - Java Garbage collection log analysis made easy

10/26/2017 Universal Java GC analysis tool - Java Garbage collection log analysis made easy Analysis Report GC log le: atlassian-jira-gc-2017-10-26_0012.log.0.current Duration: 14 hrs 59 min 51 sec System Time greater than User Time In 25 GC event(s), 'sys' time is greater than 'usr' time. It's

More information

Eternal Story on Temporary Objects

Eternal Story on Temporary Objects Eternal Story on Temporary Objects Dmitri V. Korotkevitch http://aboutsqlserver.com About Me 14+ years of experience working with Microsoft SQL Server Microsoft SQL Server MVP Microsoft Certified Master

More information

JVM Troubleshooting MOOC: Troubleshooting Memory Issues in Java Applications

JVM Troubleshooting MOOC: Troubleshooting Memory Issues in Java Applications JVM Troubleshooting MOOC: Troubleshooting Memory Issues in Java Applications Poonam Parhar JVM Sustaining Engineer Oracle Lesson 1 HotSpot JVM Memory Management Poonam Parhar JVM Sustaining Engineer Oracle

More information

Backup & Restore. Maximiliano Bubenick Sr Remote DBA

Backup & Restore. Maximiliano Bubenick Sr Remote DBA Backup & Restore Maximiliano Bubenick Sr Remote DBA Agenda Why backups? Backup Types Raw Backups Logical Backups Binlog mirroring Backups Locks Tips Why Backups? Why Backups? At some point something will

More information

Java Performance Tuning

Java Performance Tuning 443 North Clark St, Suite 350 Chicago, IL 60654 Phone: (312) 229-1727 Java Performance Tuning This white paper presents the basics of Java Performance Tuning and its preferred values for large deployments

More information

profiling Node.js applications

profiling Node.js applications Patrick Mueller @pmuellr, muellerware.org senior node engineer at NodeSource http://pmuellr.github.io/slides/2017/01-profiling-node http://pmuellr.github.io/slides/2017/01-profiling-node/slides.pdf http://pmuellr.github.io/slides/

More information

Java Memory Management. Märt Bakhoff Java Fundamentals

Java Memory Management. Märt Bakhoff Java Fundamentals Java Memory Management Märt Bakhoff Java Fundamentals 0..206 Agenda JVM memory Reference objects Monitoring Garbage collectors ParallelGC GGC 2/44 JVM memory Heap (user objects) Non-heap Stack (per thread:

More information

SELF-AWARE APPLICATIONS AUTOMATIC PRODUCTION DIAGNOSIS DINA GOLDSHTEIN

SELF-AWARE APPLICATIONS AUTOMATIC PRODUCTION DIAGNOSIS DINA GOLDSHTEIN SELF-AWARE APPLICATIONS AUTOMATIC PRODUCTION DIAGNOSIS DINA GOLDSHTEIN Agenda Motivation Hierarchy of self-monitoring CPU profiling GC monitoring Heap analysis Deadlock detection 2 Agenda Motivation Hierarchy

More information

The JSF Tools Project

The JSF Tools Project The JSF Tools Project Eclipse Webinar Presentation Presenters Raghu Srinivasan, Project Lead, Oracle Inc. Cameron Bateman, Committer, Oracle Inc January 23, 2007 2007 by Raghu Srinivasan, Oracle Inc; made

More information

Vertical Profiling: Understanding the Behavior of Object-Oriented Applications

Vertical Profiling: Understanding the Behavior of Object-Oriented Applications Vertical Profiling: Understanding the Behavior of Object-Oriented Applications Matthias Hauswirth, Amer Diwan University of Colorado at Boulder Peter F. Sweeney, Michael Hind IBM Thomas J. Watson Research

More information

Garbage Collection. Steven R. Bagley

Garbage Collection. Steven R. Bagley Garbage Collection Steven R. Bagley Reference Counting Counts number of pointers to an Object deleted when the count hits zero Eager deleted as soon as it is finished with Problem: Circular references

More information

Lesson 3 Diagnostic Data Collection and Analysis tools

Lesson 3 Diagnostic Data Collection and Analysis tools Lesson 3 Diagnostic Data Collection and Analysis tools Poonam Parhar JVM Sustaining Engineer Oracle Agenda Diagnostic Data, Data Collection and Analysis tools 1. Java Heap Memory Issues 2. OutOfMemoryError

More information

C. Collect engine heap performance data via the Cisco Unified Real-Time Monitoring Tool.

C. Collect engine heap performance data via the Cisco Unified Real-Time Monitoring Tool. Volume: 50 Questions Question No: 1 In a high availability over WAN deployment, which option cannot be located across the WAN from the active Cisco Unified Contact Center Express site? A. SMTP server B.

More information

extreme Scale caching alternatives for Bank ATM Offerings

extreme Scale caching alternatives for Bank ATM Offerings Customer POC Experience with WebSphere extreme Scale extreme Scale caching alternatives for Bank ATM Offerings Agenda Business and application challenges where elastic caching applies Customer POC Context

More information

Configuring the Heap and Garbage Collector for Real- Time Programming.

Configuring the Heap and Garbage Collector for Real- Time Programming. Configuring the Heap and Garbage Collector for Real- Time Programming.... A user s perspective to garbage collection Fridtjof Siebert, IPD, University of Karlsruhe 1 Jamaica Systems Structure What is the

More information

Exploiting the Behavior of Generational Garbage Collector

Exploiting the Behavior of Generational Garbage Collector Exploiting the Behavior of Generational Garbage Collector I. Introduction Zhe Xu, Jia Zhao Garbage collection is a form of automatic memory management. The garbage collector, attempts to reclaim garbage,

More information

Introduction. Chapter 1: Objectives

Introduction. Chapter 1: Objectives Introduction Chapter 1: Objectives You will learn: The features of Abend-AID for CICS. The components of Abend-AID. Transaction Abend Analysis functions. Selecting a server viewer. SYS-ED/Computer Education

More information

Monitoring Agent for Tomcat 6.4 Fix Pack 4. Reference IBM

Monitoring Agent for Tomcat 6.4 Fix Pack 4. Reference IBM Monitoring Agent for Tomcat 6.4 Fix Pack 4 Reference IBM Monitoring Agent for Tomcat 6.4 Fix Pack 4 Reference IBM Note Before using this information and the product it supports, read the information in

More information

Memory & Thread Debugger

Memory & Thread Debugger Memory & Thread Debugger Here is What Will Be Covered Overview Memory/Thread analysis New Features Deep dive into debugger integrations Demo Call to action Intel Confidential 2 Analysis Tools for Diagnosis

More information

Database Statistics During ODS Activation

Database Statistics During ODS Activation Database Statistics During ODS Activation Applies to: SAP BW (3.5) / SAP BI (7.0). For more information, visit the EDW homepage Summary ODS Activation step periodically recalculates the statistics. This

More information

CA341 - Comparative Programming Languages

CA341 - Comparative Programming Languages CA341 - Comparative Programming Languages David Sinclair Dynamic Data Structures Generally we do not know how much data a program will have to process. There are 2 ways to handle this: Create a fixed data

More information

Software Engineering Testing and Debugging Debugging

Software Engineering Testing and Debugging Debugging Software Engineering Testing and Debugging Debugging Prof. Dr. Peter Thiemann Universität Freiburg 13.07.2009 Today s Topic Last Lecture Bug tracking Program control Design for Debugging Input simplification

More information

Java Performance: The Definitive Guide

Java Performance: The Definitive Guide Java Performance: The Definitive Guide Scott Oaks Beijing Cambridge Farnham Kbln Sebastopol Tokyo O'REILLY Table of Contents Preface ix 1. Introduction 1 A Brief Outline 2 Platforms and Conventions 2 JVM

More information

Planning Applications Kit - In Memory Planning in Action. Dr. Gerd Schöffl / CSA Technology

Planning Applications Kit - In Memory Planning in Action. Dr. Gerd Schöffl / CSA Technology Planning Applications Kit - In Memory Planning in Action Dr. Gerd Schöffl / CSA Technology Legal disclaimer This presentation is not subject to your license agreement or any other agreement with SAP. SAP

More information

About Terracotta Ehcache. Version 10.1

About Terracotta Ehcache. Version 10.1 About Terracotta Ehcache Version 10.1 October 2017 This document applies to Terraco a Ehcache Version 10.1 and to all subsequent releases. Specifications contained herein are subject to change and these

More information

Today s Topic. Software Engineering Testing and Debugging Debugging. Today s Topic. The Main Steps in Systematic Debugging

Today s Topic. Software Engineering Testing and Debugging Debugging. Today s Topic. The Main Steps in Systematic Debugging Today s Topic Software Engineering Testing and Debugging Debugging Prof. Dr. Peter Thiemann Last Lecture Bug tracking Program control Design for Debugging Input simplification Universität Freiburg 22.06.2011

More information

Monitoring Agent for SAP Applications Fix pack 11. Reference IBM

Monitoring Agent for SAP Applications Fix pack 11. Reference IBM Monitoring Agent for SAP Applications 7.1.1 Fix pack 11 Reference IBM Monitoring Agent for SAP Applications 7.1.1 Fix pack 11 Reference IBM Note Before using this information and the product it supports,

More information

AD104 - LotusScript Tips and Tricks. Wai-ki Yip, Development Manager/Senior Developer Raphael Savir, Senior IT Specialist

AD104 - LotusScript Tips and Tricks. Wai-ki Yip, Development Manager/Senior Developer Raphael Savir, Senior IT Specialist AD104 - LotusScript Tips and Tricks Wai-ki Yip, Development Manager/Senior Developer Raphael Savir, Senior IT Specialist Agenda for the Session Purpose - Focus on Performance Tips Architectural Overview

More information

SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant

SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant SQL Sentry, LLC Thank You Presenting Sponsors Gain insights through familiar tools while balancing

More information

Introducing the PurifyPlus Family: PurifyPlus for Windows PurifyPlus for UNIX PurifyPlus for Linux PurifyPlus RealTime

Introducing the PurifyPlus Family: PurifyPlus for Windows PurifyPlus for UNIX PurifyPlus for Linux PurifyPlus RealTime Introducing the PurifyPlus Family: PurifyPlus for PurifyPlus for UNIX Product version 2002 Release 2 Document version 1.5 Last revision: November 29, 2002 1 High level overview: A. Intro an introduction

More information

Need to Node: Profiling Node.js Applications

Need to Node: Profiling Node.js Applications Need to Node: Profiling Node.js Applications Patrick Mueller January 19, 2016 Questions during the Need to Node webinar? Post a question to Twitter with the hashtag: #needtonode 2 NodeSource is the Enterprise

More information

Servlet Performance and Apache JServ

Servlet Performance and Apache JServ Servlet Performance and Apache JServ ApacheCon 1998 By Stefano Mazzocchi and Pierpaolo Fumagalli Index 1 Performance Definition... 2 1.1 Absolute performance...2 1.2 Perceived performance...2 2 Dynamic

More information

IBM Developer Kit and Runtime Environment, Java Technology Edition Version 6. IBM SDK Java Technology Edition Version 6 Supplement

IBM Developer Kit and Runtime Environment, Java Technology Edition Version 6. IBM SDK Java Technology Edition Version 6 Supplement IBM Developer Kit and Runtime Environment, Java Technology Edition Version 6 IBM SDK Java Technology Edition Version 6 Supplement IBM Developer Kit and Runtime Environment, Java Technology Edition Version

More information

Disks, Memories & Buffer Management

Disks, Memories & Buffer Management Disks, Memories & Buffer Management The two offices of memory are collection and distribution. - Samuel Johnson CS3223 - Storage 1 What does a DBMS Store? Relations Actual data Indexes Data structures

More information

Dynamic Vertical Memory Scalability for OpenJDK Cloud Applications

Dynamic Vertical Memory Scalability for OpenJDK Cloud Applications Dynamic Vertical Memory Scalability for OpenJDK Cloud Applications Rodrigo Bruno, Paulo Ferreira: INESC-ID / Instituto Superior Técnico, University of Lisbon Ruslan Synytsky, Tetiana Fydorenchyk: Jelastic

More information

Keeping your HP ArcSight connectors healthy

Keeping your HP ArcSight connectors healthy Keeping your HP ArcSight connectors healthy Tracy Barella Chief Services Strategist HP ArcSight Connector Health Agenda What is a Health? Health steps by ArcSight component Connectors Connector Appliances

More information

Kodewerk. Java Performance Services. The War on Latency. Reducing Dead Time Kirk Pepperdine Principle Kodewerk Ltd.

Kodewerk. Java Performance Services. The War on Latency. Reducing Dead Time Kirk Pepperdine Principle Kodewerk Ltd. Kodewerk tm Java Performance Services The War on Latency Reducing Dead Time Kirk Pepperdine Principle Kodewerk Ltd. Me Work as a performance tuning freelancer Nominated Sun Java Champion www.kodewerk.com

More information

TPF Debugger / Toolkit update PUT 12 contributions!

TPF Debugger / Toolkit update PUT 12 contributions! TPF Debugger / Toolkit update PUT 12 contributions! Matt Gritter TPF Toolkit Technical Lead! IBM z/tpf April 12, 2016! Copyright IBM Corporation 2016. U.S. Government Users Restricted Rights - Use, duplication

More information

Azul Systems, Inc.

Azul Systems, Inc. 1 Stack Based Allocation in the Azul JVM Dr. Cliff Click cliffc@azulsystems.com 2005 Azul Systems, Inc. Background The Azul JVM is based on Sun HotSpot a State-of-the-Art Java VM Java is a GC'd language

More information

Best Practices for Developing & Deploying Java Applications with Docker

Best Practices for Developing & Deploying Java Applications with Docker JavaOne 2017 CON7957 Best Practices for Developing & Deploying Java Applications with Docker Eric Smalling - Solution Architect, Docker Inc. @ericsmalling Who Am I? Eric Smalling Solution Architect Docker

More information

Get the Skinny on Minimally Logged Operations

Get the Skinny on Minimally Logged Operations Get the Skinny on Minimally Logged Operations Andrew J. Kelly akelly@solidq.com Who Am I? Mentor with SolidQ SQL Server MVP since 2001 Contributing editor & author for SQL Server Pro Magazine Over 20 years

More information

Borland Optimizeit Enterprise Suite 6

Borland Optimizeit Enterprise Suite 6 Borland Optimizeit Enterprise Suite 6 Feature Matrix The table below shows which Optimizeit product components are available in Borland Optimizeit Enterprise Suite and which are available in Borland Optimizeit

More information

Future of JRockit & Tools

Future of JRockit & Tools Future of JRockit & Tools Or finding the right layer to attack Joakim Dahlstedt 15 September 2004 A Short Background on JRockit Server-centric JVM Java compatible (most of the Java libraries are Suns)

More information

Troubleshooting Performance Issues with Enterprise Geodatabases. Ben Lin, Nana Dei, Jim McAbee

Troubleshooting Performance Issues with Enterprise Geodatabases. Ben Lin, Nana Dei, Jim McAbee Troubleshooting Performance Issues with Enterprise Geodatabases Ben Lin, Nana Dei, Jim McAbee blin@esri.com ndei@esri.com jmcabee@esri.com Workshop Agenda Performance Troubleshooting (Then & Now) Real-World

More information

Advances in Memory Management and Symbol Lookup in pqr

Advances in Memory Management and Symbol Lookup in pqr Advances in Memory Management and Symbol Lookup in pqr Radford M. Neal, University of Toronto Dept. of Statistical Sciences and Dept. of Computer Science http://www.cs.utoronto.ca/ radford http://radfordneal.wordpress.com

More information

Testing and Debugging

Testing and Debugging COS226 - Spring 2018 Class Meeting # 3 February 12, 2018 Testing and Debugging Tips & Tricks Ibrahim Albluwi COS 126 Unofficial Coding Strategy Repeat Until Deadline : Hack! Click Check All Submitted Files

More information