After Effects plays what it holds in RAM. Try doing less using the Preview panel. (you can have more than one setting for preview. If the bar on top is not green it is not in RAM yet so try turning on 'Cache before Playback". ALso if it is large like 4k (large for my small laptop) try dropping down the Resolution or Skipping some frames. All of this can be set from the Preview panel.