Shiny App Container OOM After initially working

I have a shiny app that, at least locally, is only occupying about 500MBs. When deploying, initially, it works. However when I update the plotted feature, it disconnects and my logs show

'Container event from container-8022485: oom (out of memory)'

I know this topic has been posted many times, usually it's just a lack of RAM required to run on a 1GB instance. But why on earth would it work for the first plot and then fail on the next? This behavior doesn't happen when running locally, nor does the RAM reach anything over 1GB while running (both locally and what's registered on my account).