dindent icon indicating copy to clipboard operation
dindent copied to clipboard

runs out of memory with large html files

Open dawie-git opened this issue 9 years ago • 1 comments

I get this quite often:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 170964 bytes) in C:\wamp\www\dib\dropinbase\extensions\DIndent\src\Indenter.php on line 123

dawie-git avatar Nov 17 '16 15:11 dawie-git

PRs for improvement are welcome. It would be possible to utilize streams to drastically optimize memory consumption.

Alternatively, just increase the memory allocated to the system.

gajus avatar Nov 17 '16 15:11 gajus