Created
November 5, 2013 15:38
-
-
Save johnkary/7320946 to your computer and use it in GitHub Desktop.
Prevent excess memory usage with long-running Symfony2 Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->em = $this->getContainer()->get('doctrine')->getEntityManager(); | |
$this->em->getConnection()->getConfiguration()->setSQLLogger(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment