-
-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Description
Doctrine needs to be smarter about avoiding memory exhaustion with profiling enabled.
I thought I had a severe memory leak in my script, but I traced it back to the profiling setting for Doctrine. When enabled, I lose about a megabyte of PHP memory for every file that I need to parse and persist. In situations where I need to process hundreds of files, that means my only option is to globally disable the profiling setting to prevent memory allocation errors.
Is it possible to change Doctrine to clear the profiler when clearing the ORM?
Is it possible to change Doctrine to have a configurable size limit for profiling?
Is it possible to change Doctrine so that profiling can be disabled at run time?
Metadata
Metadata
Assignees
Labels
No labels