Loader.loadNativeLibraries() taking much longer to run in v9.12-v9.15 MacOS M1
- Dominant language
- C++
- Stars
- 14.1k
- Forks
- 2.5k
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 72
Description
**What version of OR-Tools and what language are you using?**
Version: v9.12, v9.13, v9.14, v9.15 (updated 19-Jan-2026)
Language: Java
**Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)**
Not relevant I think but I use ModelBuilder with SCIP
**What operating system (Linux, Windows, ...) and version?**
Apple M1 Pro Laptop - 16GB RAM - macOS Tahoe 26.2
Java corretto 21.0.9 aarch64 (same results on Java 8, 17 and 25)
Have tested on linux and that works fine.
**What did you do?**
Steps to reproduce the behavior:
```groovy
plugins {
id 'java'
}
group = 'dev.claudio'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation('com.google.ortools:ortools-java:9.15.6755')
// implementation('com.google.ortools:ortools-java:9.11.4210')
}
```
```java
package dev.claudio;
import com.google.ortools.Loader;
public class Main {
public static void main(String[] args) {
long start = System.currentTimeMillis();
System.out.println("Started");
Loader.loadNativeLibraries();
long timeMs = System.currentTimeMillis() - start;
System.out.printf("Time taken: %.3f seconds%n", timeMs / 1000.0);
}
}
```
- On v9.15: `Time taken: 15.613 seconds`
- On v9.11: `Time taken: 1.066 seconds`
**Anything else we should know about your project / environment**
It doesn't seem like there's a lot of CPU usage. I'm not sure how to analyse profiler data:

Contributor guide
Assessment
This issue has not been assessed yet.