Lessc.inc.php on line 3586


#1

I’m trying to install fresh Piwik 2.6.1 and after adjusting permissions for TMP to 777, I get this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 17 bytes) in piwik/vendor/leafo/lessphp/lessc.inc.php on line 3586

I have no configuration files installed yet, the site is “empty” as I plan to use this installation for piwik only.

Thanks


#2

An update:

I have resolved this part by adding a line into my .htaccess file:

php_value memory_limit 512M

This is because the server runs as Apache. If it’s as CGI, this line would be added into php.ini file.

I have put 512M just because I have copied it from another of my sites.

My question:

From the Piwik’s perspective, what would be the lowest, yet safe amount of memory limit?

Thanks


(Matthieu Aubry) #3

From the Piwik’s perspective, what would be the lowest, yet safe amount of memory limit?

512M is a good start!