def METHOD_NAME(self, timestamp: float):
    total_virtual_memory = psutil.virtual_memory().total
    used_virtual_memory = psutil.Process().memory_info().vms
    self._agent_event_publisher.publish(
        RAMConsumptionEvent(
            source=self._agent_id,
            timestamp=timestamp,
            bytes=used_virtual_memory,
            utilization=(used_virtual_memory / total_virtual_memory) * 100,
            tags=frozenset({CRYPTOJACKER_PAYLOAD_TAG, RESOURCE_HIJACKING_T1496_TAG}),
        )
    )