On Monitoring->Overview and Monitoring->Latest data we have function CHistoryManager->getLast() which gets values from history using union way. Sometimes:
1. If the page contains a lot of items
2. If some of values have latest values ages ago
it can be very slow and can be failed with "memory is exhausted near" (increasing memory_limit to 512M, 1G does not help).