Understanding Memory Management in Java

Memory management is the process of allocating objects and removing the unused objects so that memory can be allocated for new objects. Heap and Nursery Heap is created when JVM starts up and may increase or decrease in size during application runtime. Java objects reside in the heap area. Garbage collection is run when heap area becomes full in size. Objects that are no longer in use get cleared to make space free for new objects allocation. JVM uses more memory than just heap, such as, Java methods, thread stacks…

Continue

Understanding Run-Time Data Areas in Java Vitual Machine

The Java Virtual Machine (JVM) defines various run-time data areas that are used during execution of a program. Some of these data areas are created on Java Virtual Machine start-up and are destroyed only when the Java Virtual Machine exits. Other data areas are per thread. Per-thread data areas are created when a thread is created and destroyed when the thread exits. There are various areas or segments available in run-time data areas as described below:

Continue

Java Vitual Machine

Java Virtual Machine also known as JVM, is a cornerstone of Java platform. It is important platform to execute your Java applications. The first prototype implementation of JVM was created at Sun Microsystems. It was emulated in software hosted by a handled device called Personal Digital Assistant(PDA). Oracle’s current implementations emulate the JVM on mobile, desktop and server devices.

Continue

Mule VM Transport with File Connector Example

This tutorial will show you how to use VM Transport with File Connector in Mule based application. You can see the same tutorial in youtube video https://youtu.be/OQUqruRJbrU You may like the other tutorial Mule VM Transport with HTTP Example What is VM Transport The VM transport is nothing but an in-memory transport. Therefore when a message has to be passed through a VM endpoint, i.e., the message is being transferred from one endpoint to another endpoint in memory. So the VM transport can be used for intra-JVM communication between Mule flows. It can be used…

Continue

Mule VM Transport with HTTP Example

This tutorial will show you how to use VM Transport with HTTP Connector in Mule based application. What is VM Transport The VM transport is nothing but an in-memory transport. Therefore when a message has to be passed through a VM endpoint, i.e., the message is being transferred from one endpoint to another endpoint in memory. So the VM transport can be used for intra-JVM communication between Mule flows. It can be used only in single Mule application and cannot be used to communicate between two or more Mule applications. This transport by…

Continue