Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Webmail Lite - Large attachments - exhaus Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tyryko
Newbie
Newbie


Joined: 25 January 2011
Online Status: Offline
Posts: 1
Posted: 25 January 2011 at 11:05pm | IP Logged Quote tyryko

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 View tyryko's Profile Search for other posts by tyryko
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 25 January 2011 at 11:35pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide