Java Exception: "java.lang.OutOfMemoryError: Java heap space"
This section provides a tutorial example on how JVM expands the Heap space to allocate more objects and leads to the 'java.lang.OutOfMemoryError: Java heap space' Java exception, if it is not allowed to expand any more. 2017-08-10, 244👍, 1💬
Current Time in Milliseconds and Nanoseconds
This section provides a tutorial example on how to obtain the current time in milliseconds and nanoseconds using currentTimeMillis() and nanoTime() methods. 2017-08-09, 140👍, 1💬
Accessing System Environment Variables
This section provides a tutorial example on how to access environment variables defined in the operating system using the System.getenv() method. 2017-01-14, 239👍, 2💬
Downloading and Installing JDK 1.7.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.7.0 (Java SE 7) on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation. 2017-01-02, 4691👍, 3💬
PC Register and Native Method Stack
This section describes PC Registers and Native Method Stacks, which are reserved one per thread. Normal Java applications do not have any significant impact on PC Registers and Native Method Stacks. 2016-05-13, 1233👍, 2💬
Sun's JVM - Java HotSpot VM
This chapter provides tutorial notes and example codes on Sun Java HotSpot VM. Topics include running Java HotSpot VM in client and server modes; checking memory usage with the Runtime class. 2016-01-26, 476👍, 1💬
Garbage Collection Tests
This chapter provides tutorial notes and example codes on garbage collection. Topics include garbage collection test program - GCTest2.java; comparisons between HotSpot 1.7.0, HotSpot 1.6.0 and JRockit R28.2.7. 2015-08-16, 196👍, 1💬
Table of Contents - Index
This free book is a collection of notes and sample codes written by the author while he was learning JVM himself. Topics include JVM (Java Virtual Machine), HotSpot, JRockit, GC (Garbage Collection), Memory, Stack overflow, CDS (Class Data Sharing), Runtime, Reflection. 2015-07-18, 239👍, 0💬
This section provides a tutorial example on how the SOAP message receiver should validate the passwo...
This section provides a tutorial example on how to use 'keytool' to import certificates in DER and P...
This chapter provides notes and tutorial examples on XML Tools Plugin for Notepad++. Topics include ...
This section describes how to insert BLOB values as normal strings using INSERT statements.
This section describes steps to follow if you want to use the java.net.HttpURLConnecti onclass to se...