Skip to content

Commit 95fe3ac

Browse files
authored
fix: bump max heap size to 2500MB (#1660)
1 parent ad36f07 commit 95fe3ac

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
44
def project do
55
[
66
app: :realtime,
7-
version: "2.68.4",
7+
version: "2.68.5",
88
elixir: "~> 1.18",
99
elixirc_paths: elixirc_paths(Mix.env()),
1010
start_permanent: Mix.env() == :prod,

rel/vm.args.eex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
## Tweak GC to run more often
1111
##-env ERL_FULLSWEEP_AFTER 10
1212

13-
## Limit process heap for all procs to 500 MB. The number here is the number of words
14-
+hmax <%= div(500_000_000, :erlang.system_info(:wordsize)) %>
13+
## Limit process heap for all procs to 2500 MB. The number here is the number of words
14+
+hmax <%= div(2_500_000_000, :erlang.system_info(:wordsize)) %>
1515

1616
## Set distribution buffer busy limit (default is 1024)
1717
+zdbbl 100000

0 commit comments

Comments
 (0)