Skip to content

Commit 42c645f

Browse files
Update description for --multi-process (#316)
1 parent d304c7b commit 42c645f

30 files changed

+341
-1297
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ quark -a first.apk -a second.apk -C
141141
<img src="https://i.imgur.com/ClRWOei.png"/>
142142

143143
### Parallelizing Quark
144-
Now Quark supports multiprocessing for analyzing APKs parallelly, by adding the option `--multi-process` and set the number of processes. (the default is the number of CPUs in your computer.)
144+
Now Quark supports multiprocessing for analyzing APKs parallelly. By adding the option `--multi-process`, you can set the number of processes.
145+
146+
**Note:** Quark-Engine automatically limits this value to be less than or equal to the number of CPUs - 1. This restriction is done to avoid the CPU from running out of memory.
147+
145148
```bash
146149
quark -a Ahmyth.apk -s --multi-process 4
147150
```
284 Bytes
Binary file not shown.
274 Bytes
Binary file not shown.
447 Bytes
Binary file not shown.

docs/build/doctrees/dev.doctree

504 Bytes
Binary file not shown.
104 Bytes
Binary file not shown.
1.5 KB
Binary file not shown.

docs/build/doctrees/index.doctree

153 Bytes
Binary file not shown.
400 Bytes
Binary file not shown.

docs/build/html/_sources/install.rst.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ Once you see the following msg, then you're all set::
4646
--core-library [androguard|rizin]
4747
Specify the core library used to analyze an
4848
APK
49-
--multi-process INTEGER RANGE Allow analyzing APK with N processes [x>=1]
49+
--multi-process INTEGER RANGE Allow analyzing APK with N processes,
50+
where N doesn't exceeds the number of usable CPUs - 1
51+
to avoid memory exhaustion.
5052
--version Show the version and exit.
5153
--help Show this message and exit.
5254

0 commit comments

Comments
 (0)