1 Reply Latest reply on Mar 22, 2019 12:19 AM by jaikiran

    WF 15.0.1 ServiceContainerImpl Memory Leak

    a--i

      Hi!

      I need help.

      In wildfly 15.0.1 org.jboss.msc.service.ServiceContainerImpl grows ConcurrentMap <ServiceName, ServiceRegistrationImpl> registry.

       

      This is due to org.wildfly.clustering.service.ServiceSupplier and its get method.

      Next, a piece of code:

       

      // Create one-time service name
      ServiceName name = this.name.append(UUID.randomUUID().toString());

      ServiceBuilder<?> builder = target.addService(name);
      Supplier<T> supplier = builder.requires(this.name);
      ServiceController<?> controller = builder.setInitialMode(this.mode).install();

       

       

      What is the service created for with the name this.name.append (UUID.randomUUID().toString())?

      And why is it not removed from the registry?