Elie Habib
2bf825feb0
fix(sanctions): reduce peak heap in seed to prevent OOM kill on Railway ( #2001 )
...
The sdn_advanced.xml file has grown to ~120MB. During XML_PARSER.parse()
both the raw string (~120MB) and the parsed JS object tree (~200-300MB)
coexist in memory, exceeding Railway's 512MB limit and causing a silent
SIGKILL with no error output in logs.
Block-scope the xml string so it is GC-eligible immediately after parse
returns, and yield to the event loop so GC can reclaim it before
buildEntriesForDocument allocates the entry objects.
Also corrects the stale ~10MB comment that was written before the file grew.
2026-03-21 18:29:00 +04:00
..
2026-03-15 15:57:22 +04:00
2026-03-17 14:24:26 +04:00
2026-03-21 08:58:21 +04:00
2026-02-28 17:43:56 +04:00
2026-03-14 15:07:30 +04:00
2026-03-16 08:40:14 +04:00
2026-03-14 21:29:21 +04:00
2026-03-19 00:24:47 +04:00
2026-03-21 12:43:56 +04:00
2026-03-20 12:37:24 +04:00
2026-03-14 21:29:21 +04:00
2026-03-21 12:28:44 +04:00
2026-03-14 21:29:21 +04:00
2026-03-12 06:50:30 +04:00
2026-03-05 10:16:43 +04:00
2026-03-19 10:31:37 +04:00
2026-03-14 21:29:21 +04:00
2026-02-26 20:52:44 +04:00
2026-03-15 15:57:22 +04:00
2026-03-15 15:57:22 +04:00
2026-03-19 02:40:05 +04:00
2026-03-17 06:35:12 +04:00
2026-03-01 11:53:20 +04:00
2026-03-01 11:53:20 +04:00
2026-03-14 21:29:21 +04:00
2026-03-01 15:59:53 +04:00
2026-03-14 21:29:21 +04:00
2026-03-01 11:53:20 +04:00
2026-03-15 11:20:51 +04:00
2026-03-20 17:46:41 +04:00
2026-03-20 17:46:41 +04:00
2026-03-15 15:57:22 +04:00
2026-03-17 18:34:53 +04:00
2026-03-01 11:53:20 +04:00
2026-03-19 12:07:20 +04:00
2026-03-17 16:12:05 +04:00
2026-03-15 13:31:41 +04:00
2026-03-21 10:56:48 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-16 08:48:00 +04:00
2026-03-21 10:56:48 +04:00
2026-03-18 19:53:57 +04:00
2026-03-15 12:02:37 +04:00
2026-03-20 10:34:20 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-20 12:36:34 +04:00
2026-03-21 12:28:44 +04:00
2026-03-15 11:09:34 +04:00
2026-03-20 12:37:24 +04:00
2026-03-21 17:16:31 +04:00
2026-03-19 08:41:35 +04:00
2026-03-21 12:43:56 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 13:31:41 +04:00
2026-03-20 12:36:34 +04:00
2026-03-20 12:36:34 +04:00
2026-03-20 18:28:46 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 15:57:22 +04:00
2026-03-18 19:46:12 +04:00
2026-03-15 13:31:41 +04:00
2026-03-20 16:08:48 +04:00
2026-03-20 12:36:34 +04:00
2026-03-20 12:19:01 +04:00
2026-03-17 09:18:06 +04:00
2026-03-18 19:53:57 +04:00
2026-03-21 18:29:00 +04:00
2026-03-21 08:58:21 +04:00
2026-03-17 06:35:12 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-19 03:45:32 +04:00
2026-03-17 14:24:26 +04:00
2026-03-21 11:27:02 +04:00
2026-03-17 17:45:13 +04:00
2026-03-20 14:04:21 +04:00
2026-03-15 12:02:37 +04:00
2026-03-17 16:12:05 +04:00
2026-03-15 12:02:37 +04:00
2026-03-14 10:23:20 +04:00
2026-03-19 01:57:27 +04:00
2026-02-19 07:53:15 +04:00
2026-03-14 21:29:21 +04:00
2026-03-04 17:37:15 +04:00
2026-03-19 09:51:25 +04:00