The chrome browser has 4G of memory only chatGPT screen

The chrome browser has 4G of memory only chatGPT screen and it started to crash in the middle of the screen.This tends to happen when the amount of sentences increases.Isn’t this a glitch where the memory is not being freed up?