Server IP : 85.214.239.14 / Your IP : 18.189.189.19 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/self/root/proc/3/task/3/root/proc/2/cwd/usr/share/doc/lrzip/lzma/ |
Upload File : |
README for Memory Allocation Debugging If it is necessary or desired to debug the memory allocation process in LZMA, edit the file C/Alloc.c and uncomment the line: /* #define _SZ_ALLOC_DEBUG */ Then, add this to the Makefile and relink. This output will show chunks of memory Alloc uses during LZMA compression. Output will appear similar to this: Alloc 284484 bytes, count = 0, addr = 44251008 Alloc 65536 bytes, count = 1, addr = 80636F0 Alloc 12288 bytes, count = 2, addr = 80736F8 Alloc 12288 bytes, count = 3, addr = 8076700 Alloc 4456448 bytes, count = 4, addr = 43E10008 Alloc 102877690 bytes, count = 5, addr = 3DBF3008 Alloc 604246024 bytes, count = 6, addr = 19BB1008 Free; count = 6, addr = 43E10008 Free; count = 5, addr = 19BB1008 Free; count = 4, addr = 3DBF3008 Free; count = 3, addr = 80736F8 Free; count = 2, addr = 8076700 Free; count = 1, addr = 80636F0 Free; count = 0, addr = 44251008 As you can see, LZMA takes large chunks of ram and sometimes it can use more than what is available and return an SZ_ERROR_MEM (2) code.