Skip to main content

Memory usage

Memory usage - experimental​

Memory usage is a feature that allows you to track the memory usage of your application. It uses the measureUserAgentSpecificMemory API.
The SDK will collect memory usage data every interval and send it to Coralogix.
To enable the feature, your website needs to be in a secure context.

CoralogixRum.init({
// ...
memoryUsageConfig: {
enabled: true,
interval: 300_000, // Defaults to 5 minutes
},
});

You can also manually trigger memory usage data collection.

CoralogixRum.measureUserAgentSpecificMemory();
Last updated on
Was this page helpful?