[Vtigercrm-developers] [PATCH 4.2.3] Set memory limit higher than 8mb
Mike Fedyk
mfedyk at mikefedyk.com
Sun Feb 5 10:20:54 PST 2006
Untested.
This will put it in config.php instead.
diff -dr -u vtiger-4.2.3-production/install/4createConfigFile.php
vtiger-4.2.3-testing/install/4createConfigFile.php
--- vtiger-4.2.3-production/install/4createConfigFile.php 2006-01-13
20:46:28.000000000 -0800
+++ vtiger-4.2.3-testing/install/4createConfigFile.php 2006-02-05
10:13:33.000000000 -0800
@@ -195,6 +195,9 @@
$config .= "\$vtiger_version = '".$vtiger_version."';\n\n";
$config .= "\$release_date = '".$release_date."';\n\n";
+$config .= "#More than 8MB memory needed for graphs\n";
+$config .= "ini_set('memory_limit','16M');\n\n";
+
$config .= "//World clock & Calculator will be displayed if these
variables are 'true' otherwise will not be displayed.\n";
$config .= "\$WORLD_CLOCK_DISPLAY = 'true';\n";
$config .= "\$CALCULATOR_DISPLAY = 'true';\n\n";
Mike Fedyk wrote:
>The default seems to be 8mb, and the dashboard and pipeline graphs don't
>work with that limit.
>
>diff -dr -U2 -x config.php -x connection.php vtiger_crm-4.2.3/index.php
>vtiger-4.2.3-testing/index.php
>--- vtiger_crm-4.2.3/index.php 2005-12-23 03:17:24.000000000 -0800
>+++ vtiger-4.2.3-testing/index.php 2006-01-29 10:50:58.000000000 -0800
>@@ -29,4 +29,7 @@
> }
>
>+#More than 8MB memory needed for graphs
>+ini_set('memory_limit','16M');
>+
> function fetchPermissionDataForTabList()
> {
>
>_______________________________________________
>vtigercrm-developers mailing list
>vtigercrm-developers at lists.vtigercrm.com
>http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-developers
>
>
>
More information about the vtigercrm-developers
mailing list