It's a pity that the default behavior for this functionality is not OFF.
We have a dedicated server with > 200 members and one member left his browser sitting on the profile page for 3 days. The end result was after the weekly log rotation process Apache could not write to the new log files. Took me a couple of days to figure out what was going on.
Only resolved the issue by restarting Apache.
I've since implemented the following in the themes function.php (similar to above, but works)
function my_deregister_heartbeat() {
global $pagenow;
if ( 'post.php' != $pagenow && 'post-new.php' != $pagenow ) {
wp_deregister_script('heartbeat');
wp_register_script('heartbeat', false);
}
}
add_action( 'admin_enqueue_scripts', 'my_deregister_heartbeat' );
Sorry guys, but in it's current form this feature is a serious brain-fart!