memory_leaks

TwitterFacebook
Get flash to fully experience Pearltrees

Choosing innodb_buffer_pool_size | MySQL Performance Blog

http://www.mysqlperformanceblog.com/2007/11/03/choosing-innodb_buffer_pool_size/ My last post about Innodb Performance Optimization got a lot of comments choosing proper innodb_buffer_pool_size and indeed I oversimplified things a bit too much, so let me write a bit better description. Innodb Buffer Pool is by far the most important option for Innodb Performance and it must be set correctly. I’ve seen a lot of clients which came through extreme sufferings leaving it at default value (8M). So if you have dedicated MySQL Box and you’re only using Innodb tables you will want to give all memory you do not need for other needs for Innodb Buffer Pool. This of course assumes your database is large so you need large buffer pool, if not – setting buffer pool a bit larger than your database size will be enough.
Your pager hasn’t been sleeping well. It periodically wakes you up in the middle of the night to tell you that your server is firing off “OutOfMemoryError” messages. Worse still, your significant other forcibly relocated you to the couch and told you not to return until your pager stops buzzing. Sound familiar?

Wazi " Tutorials " How to Fix Memory Leaks in Java

http://olex.openlogic.com/wazi/2009/how-to-fix-memory-leaks-in-java/
http://www.oracle.com/technetwork/java/javase/index-137495.html November 2008 This document is a guide to help troubleshoot problems that might arise with applications that are developed using the release of Java Platform, Standard Edition 6 (JDK 6 release or Java SE 6 release). In particular, this guide addresses possible problems between the applications and the Java HotSpot virtual machine.

Troubleshooting Memory Leaks - Troubleshooting Guide for Java SE

Handling memory leaks in Java programs

How memory leaks manifest themselves in Java programs Most programmers know that one of the beauties of using a programming language such as Java is that they no longer have to worry about allocating and freeing memory. You simply create objects, and Java takes care of removing them when they are no longer needed by the application through a mechanism known as garbage collection. http://www.ibm.com/developerworks/library/j-leaks/
http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html

Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine

Use the concurrent low pause collector if your application would benefit from shorter garbage collector pauses and can afford to share processor resources with the garbage collector when the application is running. Typically applications which have a relatively large set of long-lived data (a large tenured generation), and run on machines with two or more processors tend to benefit from the use of this collector. However, this collector should be considered for any application with a low pause time requirement.
org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance – save the transient instance before flushing: model.Item

Watch out for Hibernate unsaved-value

http://almaer.com/blog/watch-out-for-hibernate-unsaved-value