Skip to content

[java] RoutingModel: memory leak #3446

@sarthakgangur

Description

@sarthakgangur

What version of OR-Tools and what language are you using?
Version: ortools-java-9.4.1874
Language: Java

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
RoutingModel Solver

What operating system (Linux, Windows, ...) and version?

Make sure you include information that can help us debug (full error message, model Proto).

We are seeing our k8s container memory increase over time ( a few days ) and profiling indicates the leak might be from ortools. Attached a screenshot of memory increase and jeprof profiling snapshot.
The JVM metrics look good indicating that there is some native memory leak

Anything else we should know about your project / environment

image

profiling825Latest-20220829-170713

Metadata

Metadata

Assignees

Labels

BugLang: JavaJava wrapper issueSolver: RoutingUses the Routing library and the original CP solver

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions