From 51b64f6922f99af73a49eff8ad37ff6a3b67df1c Mon Sep 17 00:00:00 2001 From: Stossy11 <69031796+stossy11@users.noreply.github.com> Date: Sun, 30 Mar 2025 10:53:08 +1100 Subject: [PATCH] Add Disable Memory Limit --- StikJIT/idevice/jit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/StikJIT/idevice/jit.c b/StikJIT/idevice/jit.c index b93ff44..9d226c6 100644 --- a/StikJIT/idevice/jit.c +++ b/StikJIT/idevice/jit.c @@ -156,6 +156,12 @@ int debug_app(TcpProviderHandle* tcp_provider, const char *bundle_id, LogFuncC l } logger("Successfully launched app with PID: %" PRIu64 "", pid); + // Disable memory limit for PID + err = process_control_disable_memory_limit(process_control, pid); + if (err != IdeviceSuccess) { + logger("failed to disable memory limit: %d", err); + } + /***************************************************************** * Debug Proxy - Attach to Process *****************************************************************/