-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
I'm compiling following simple example:
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Path("hello")
public class GreetingResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
public String hello() {
return "Hello";
}
}
And deploy the native image on my GCP Kubernetes Cluster.
The memory starts at ~5MB but over time it raises and never drop back down.
I get the same behavior using a Apache Camel Route which starts up every second and does nothing:
import org.apache.camel.builder.RouteBuilder;
public class Demo extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:camel-demo?period=1000")
.setBody()
.constant("");
}
}
I'm compiling it with:
mvn clean package -DskipTests -Dquarkus.container-image.push=true -Pnative
It looks like there exists already a very similar issue: #2428