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, 208👍, 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, 227👍, 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, 4534👍, 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, 1125👍, 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, 454👍, 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 describes how to load the JDBC-ODBC Bridge driver class with the Class.forName() method...
This section provides a tutorial example on how to use the getSelection() method to know which butto...
This section describes how to insert new data rows into MS Access database through the JDBC-ODBC dri...
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. T...
This section describes how to connect to a SQL Server 2005 through DSN with JDBC-ODBC Bridge.