Questions about Corticon memory usage

Posted by cammyc on 20-Dec-2013 08:22

Hi,
I have several questions about Corticon's memory usage.
 
> What kind of memories does the Corticon allocate in what area of Java environment?
> Under what situation / when will the Corticon server release the allocated memories from the heap, and so on?
> Any possible situation that Corticon server allocates memory repeatedly in a short moment and that leads to memory leak and to the major GC(Gargage Collection) to occur?
Many Thanks,
Cammy Choy

Posted by James Arsenault on 26-Dec-2013 18:26

Corticon uses heap memory to process decision service calls.

As the service is called, memory is allocated to process the request, and then is free for GC after the request finishes.

We have no evidence of memory leaks, however if a service is quickly processed its memory would be allocated and freed in a short moment and is then available for GC.

The memory usage is very dependent on the size/complexity of the rules and the size of the data. XML uses more memory the java objects.

IF there is a backlog of requests (say because there are more server instances then processors) then a case where a large amount of memory is being consumed may occur.

All Replies

Posted by James Arsenault on 26-Dec-2013 18:26

Corticon uses heap memory to process decision service calls.

As the service is called, memory is allocated to process the request, and then is free for GC after the request finishes.

We have no evidence of memory leaks, however if a service is quickly processed its memory would be allocated and freed in a short moment and is then available for GC.

The memory usage is very dependent on the size/complexity of the rules and the size of the data. XML uses more memory the java objects.

IF there is a backlog of requests (say because there are more server instances then processors) then a case where a large amount of memory is being consumed may occur.

This thread is closed