Onheap vs offheap memory
I am new to Incorta. Can anyone help me understand how the onheap vs offheap memory works. Any references for documentation with examples is much appreciated.
Also when the loader service is restarted, How do we ensure the loader service is available for the users to start using schema's.
What are the parameters we need to check to see the loader is service is available. Currently I see only a message saying loader service is not available when we try accessing the schema. The only place I see now is check the memory details. But certain times even the memory is completely loaded, the message appears as "loader is unavailable to access schema"
For the On/off Heap point:
- on-heap refers to having the data parts stored in the JVM memory heap
- off- heap refers to having all the data parts are stored outside the JVM memory heap
For monitoring the Loader Service startup:
In the CMC, the Loader Service status "started" reflects the Tomcat status and the tenant might not yet be available.
Whether you are starting the Loader Service from the command line or from the CMC, in order to know that the loader service is completely started and the tenant is available, you must monitor the Incorta tenant log from the loader service backend:
From this log (where "bi" is the tenant name), you must see a message similar to this to know that the Loader Service is completely started up.
INFO: [12:07:28] [bi | System | Startup] Tenant: bi started in: 0.11 Mins [com.incorta.server.Server.startupTenant
Once this is seen in the log, you can start the Analytic Service.
This is simplified in the upcoming 4.4 release.
Starting from 4.4 we've enhanced the CMC service status by introducing a new status called "Starting Tenants" which means that Tomcat is started but tenants are still being loaded and "started" status means that service is started and all tenants have been loaded and ready.
Incorta 4.4, the Loader Service status are:
- At Startup: Processing -> Starting -> StartingTenants -> Started
- At Shutdown: Stopping -> StoppingTenants -> processing -> Stopped