mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
Add Disable Memory Limit
This commit is contained in:
parent
839707f69d
commit
51b64f6922
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
*****************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue