Use PHP memory limit

Setzler - July 28, 2008 - 15:34
Project:Click HeatMap
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:critical
Assigned:boombatower
Status:closed
Description

At , I get the following:

<div id="pngDiv"><br>
<b>Warning</b>:  imagepng() [<a href="function.imagepng">function.imagepng</a>]: Unable to open '/home/adam/public_html/bluebikemarketing.com/public/modules/click_heatmap/clickheat/cache/default,home-2008-07-27-d--1255-firefox-heat-0.png_temp' for writing: Permission denied in <b>/home/adam/public_html/bluebikemarketing.com/public/modules/click_heatmap/clickheat/classes/Heatmap.class.php</b> on line <b>155</b><br>
&nbsp;<div style="line-height: 20px;"><span class="error">::MEMORY_OVERFLOW::</span></div></div>

AttachmentSize
click_heatmap_overflow.png37.16 KB

#2

boombatower - July 28, 2008 - 16:36

Do you have access to the php.ini file? If so turn up the memory limit.

http://us.php.net/manual/en/ini.core.php#ini.memory-limit

#3

Setzler - July 28, 2008 - 18:05

It sits at 64M. Should I need more?

#4

boombatower - July 28, 2008 - 19:36

Will depend on the number of clicks. Once again I didn't write the library generating the clicks so I can't say for sure.

#5

boombatower - September 28, 2009 - 07:54
Title:Memory Overflow» Use PHP memory limit
Version:6.x-2.5» 6.x-2.x-dev
Category:bug report» task
Assigned to:Anonymous» boombatower
Status:active» needs review

The module will now configure ClickHeat to use the PHP memory limit instead of hardcoded 64M.

AttachmentSize
288173-php-mem-limit.patch 639 bytes

#6

boombatower - September 28, 2009 - 07:54
Status:needs review» fixed

Committed.

#7

System Message - October 12, 2009 - 08:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.