Developers/Maximum number of connections exceeded/en

Maximum number of connections exceeded
Database connections are shared across all managers and the database manager is configured to provide only a single database connection. If you acquire a connection in your manager and forget to release it, you will get the error as soon as the next manager tries to acquire the connection. Usually, your code should try to avoid problems like this:

$dbm = $this->_context->getDatabaseManager; $conn = $dbm->acquire; try { 	// do something $dbm->release( $conn ); } catch( Exception $e ) { 	$dbm->release( $conn ); throw $e; }