gajus / gajus/dindent

runs out of memory with large html files

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
179
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting extensions/DIndent/src/Indenter.php at line 123 and reproduce the failure with a large HTML file under the reported PHP memory limit. Trace the memory-heavy operation and verify that large inputs can be indented without exhausting the limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.