I can't seem to run php on a simple script which processes a 400MB file with a bunch of regular expressions. It probably requires over 2GB of memory but only seems to go up to 1GB even though it should be unlimited memory
The script i used was this one: https://github.com/v0s/plus22
C:\Tools\plus22>php -d memory_limit=-1 plus22.php C:\reversing+22\reversing.exe.asm
script also contains inside it
ini_set("memory_limit", -1);
Error happens like this
[.] QWord -> DWord
Fatal error: Out of memory (allocated 992215040) (tried to allocate 491897887 by
tes) in C:\Tools\plus22\plus22.php on line 224
C:\Tools\plus22>php -v
PHP 5.4.34 (cli) (built: Oct 15 2014 21:58:00)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies