Showing posts from December, 2010

JVM Garbage Collection and Optimizations

Overview When troubleshooting systems for performance-related issues, memory optimizations are a place that needs a deep analysis of what each system stores in the memory, how long those are stored, and access patterns. This post is to keep a note on the background information and valuable points to note in such an effort, specific to Java-based implementations as a deep understanding of the JVM behaviors is very beneficial in the process.

Java language provides much convenience to the developers by taking care of the memory management to a great extent letting the focus be on the rest of the logic. Still having a good understanding of how Java does this underneath, rationalize several best practices we follow in Java implementations and help design the programs better and think seriously on some aspects that can later lead to memory leaks and system stability in the long run. Java Garbage Collector has a big role in this been responsible for freeing up memory by removing memory gar…

Few methods to install software in Ubuntu

The followings are few methods I got to know surfing several sites for hours and from friends when I had time.Hope this will help someone at the beginning stage in using Ubuntu, to save time in installing software.
(1) Installing from a .tar.gz fileThis is a zipped file used in Ubuntu and have to right click and extract before installing.Usually include the source code written in C, C++ or Python. Then open the extracted folder to check whether a file called 'configure' is there.

If not this method won't work and have to try another. This configure file is to match the source code with current status features like 32/64 bit.
- Open terminal
- Go to the folder where source code is located. (Usingcd directory_name)
- Get into super user mode(sudo su)
- Will prompt to type password for authentication and when done correctly can proceed in super user mode
- Then type ./configure (Can observe checking of the source code, and if some error occurred have to work on that)
- After configu…