Phoenix little app with NO DB crashing - OOM

I created a simple Phoenix app 1.7.6 following the docs, this app is not using a DB, this just expose one simple endpoint, so no big computations of anything but when trying to deploy the beam process gets killed due to OOM, tried scaling and also adding 512MB of RAM but nothing…What am i doing wrong?


# fly.toml app configuration file generated for hubspot-services-api on 2023-07-04T11:19:17+02:00
# See for information about how to use this file.

app = "hubspot-services-api"
primary_region = "mad"
kill_signal = "SIGTERM"

  PHX_HOST = ""
  PHX_SERVER = "true"
  PORT = "8080"

  internal_port = 8080
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]
    type = "connections"
    hard_limit = 1000
    soft_limit = 1000

Logs output crash:

Try scaling it to 1gb and see if it starts up. I’ve had this before, and had to scale to 1 gb, not sure why.