Author |
|
tyryko Newbie

Joined: 25 January 2011
Online Status: Offline Posts: 1
|
Posted: 25 January 2011 at 11:05pm | IP Logged
|
|
|
I currently have Webmail Lite running for some of my clients. I am recently having trouble with large attachements. For example one message has a 32mb attachment.
When I try to open this message I get:
"Allowed memory size of 209715200 bytes exhausted (tried to allocate 32401151 bytes) in <b>WEBMAIL LITE DIRECTORY/webmail-v2/mime/class_mimepart.php</b> on line <b>358</b><br />"
I can not even delete the message.
I have tried changing the memory_limit in php config many time increasing as we go. I have even increased it to what I think are extremes.
The last config I tried had these php settings:
memory_limit 2048M
post_max_size 50M
upload_max_filesize 512M
max_execution_time 300
I have turned on the logs and have noticed something.
[02:48:05.654] INI_SET: memory_limit/set_time_limit = 200M/3000
is something that shows up.
The memory limit has increased. When I noticed this problem memory_limit was set at 200M
Why has this not updated? Is this a setting in Webmail?
Please advise.
Thanks in advance!
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 25 January 2011 at 11:35pm | IP Logged
|
|
|
The thing is, WebMail attempts to set memory_limit as well. Try modifying the value set in the following
line of common/inc_constants.php file:
Code:
define('MEMORYLIMIT', '200M'); |
|
|
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|