Explore JVM OutOfMemoryError, which indicates a problem external to our application, like other errors.
Search Results for: Heuristic
Difference Between Xmx and MaxRAM JVM Parameters
Learn how to use the -XX:MaxRAM flag to provide more tuning opportunities for the heap size calculation.
What Is a TLAB or Thread-Local Allocation Buffer in Java?
A quick and practical guide to TLAB in Java.
Guide to MicroStream
MicroStream is an alternative to a database engine. It allows for direct storage of Java objects with queries performed using stream-like APIs. We look at how this new technology can be used.
Experimental Garbage Collectors in the JVM
Learn the new Shenandoah garbage collector and how it compares against other garbage collectors
Asynchronous HTTP Programming with Play Framework
The Play Framework provides an asynchronous HTTP client to make calls to web services in the background while doing other work. We explore how to use it.
Introduction to Greedy Algorithms with Java
Learn about greedy algorithms in the Java ecosystem.
Implementing A* Pathfinding in Java
A quick and practical overview of A* Pathfinding Algorithm in Java.
Guide to System.gc()
Learn about the System.gc() method understand if there are any use cases when calling this method might be useful
JPA Query Parameters Usage
Learn how to use JPA Query Parameters
The K-Means Clustering Algorithm in Java
Learn about the K-Means clustering algorithm using a real-world dataset from Last.fm
Brief Introduction to Java Thread.yield()
A quick and practical over of Thread.yield() method.
Multi-Swarm Optimization Algorithm in Java
Learn how to implement a Multi-swarm optimization algorithm in Java.
Create a Sudoku Solver in Java
Building a Sudoku puzzle and an efficient algorithm used for solving it in Java.
String Search Algorithms for Large Texts with Java
Discover different full-text search algorithms implemented using plain Java.
Monte Carlo Tree Search for Tic-Tac-Toe Game in Java
Learn Monte Carlo Tree Search (MCTS) algorithm and its applications by exploring implementation for Tic-Tac-Toe game in Java.
Example of Hill Climbing Algorithm in Java
Learn to implement the Hill-Climbing algorithm in Java – the heuristic technique used for finding the optimal results in large solution space.
Introduction to Apache Commons Math
Learn about the Apache Commons Math, which is the biggest open-source library of mathematical functions and utilities for Java.
The Traveling Salesman Problem in Java
Quick intro to simulated annealing for the traveling salesman problem in Java.