[Dehs-devel] r177 - trunk

Raphael Geissert geissert at alioth.debian.org
Sat Dec 26 23:34:01 UTC 2009


Author: geissert
Date: 2009-12-26 23:34:00 +0000 (Sat, 26 Dec 2009)
New Revision: 177

Modified:
   trunk/dehs_pg.php
Log:
Reduce memory usage a bit and increase limit


Modified: trunk/dehs_pg.php
===================================================================
--- trunk/dehs_pg.php	2009-12-26 23:03:23 UTC (rev 176)
+++ trunk/dehs_pg.php	2009-12-26 23:34:00 UTC (rev 177)
@@ -25,7 +25,7 @@
 #ini_set ( "error_reporting", "E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR");
 ini_set ("html_errors", "off");
 set_time_limit(0);
-ini_set ( "memory_limit", "40M");
+ini_set ( "memory_limit", "80M");
 #print_R($_SERVER);
 require "dehs.config.inc";
 require "events.class.php";
@@ -206,6 +206,7 @@
                     }
                     if (preg_match($regexp,$buff1,$matches))  {
                         if (!isset($pkgs[$matches[1]]) || is_updated($pkgs[$matches[1]][4],$matches[4],true)) {
+			    unset($matches[0]);
                             $pkgs[$matches[1]] = $matches;
 			    $pkgsections[$matches[1]] = $section;
 			}




More information about the Dehs-devel mailing list