mirror of https://github.com/schoebel/mars
copy: reduce memory
This commit is contained in:
parent
0ef119edd1
commit
e22c2f9aa2
|
@ -12,7 +12,7 @@
|
|||
|
||||
//#define COPY_CHUNK (64 * 1024)
|
||||
#define COPY_CHUNK (PAGE_SIZE)
|
||||
#define MAX_COPY_PARA (32 * 1024 * 1024 / COPY_CHUNK)
|
||||
#define MAX_COPY_PARA (16 * 1024 * 1024 / COPY_CHUNK)
|
||||
|
||||
enum {
|
||||
COPY_STATE_START = 0,
|
||||
|
|
Loading…
Reference in New Issue