Hi.
Are there any special concerns for setting memory_limit to -1 in
PHP.INI on Windows (using Sambar Server, not IIS/Apache).
I'm getting "Out of memory" errors recently. Memory is good.
Admittedly the code is trying to add a 12MG file as an attachment
(using htmlmimemail5 from phpguru.org).
5MG attachments are OK, but the 12MG isn't.
The server is internal so the limit is not required.
Confused.
--
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
Hi.
Are there any special concerns for setting memory_limit to -1 in
PHP.INI on Windows (using Sambar Server, not IIS/Apache).I'm getting "Out of memory" errors recently. Memory is good.
Admittedly the code is trying to add a 12MG file as an attachment
(using htmlmimemail5 from phpguru.org).5MG attachments are OK, but the 12MG isn't.
The server is internal so the limit is not required.
Confused.
Is this a production server which might literally be running out of
RAM?... If so, not much can be done to fix that... :-v
Does the error actually say "out of memory" or "memory limit reached"?
I think you get different error if you are triggering the
memory_limit than, say, really running out of RAM.
Also double-check phpinfo()
to be sure your memory_limit setting is
what you think it is.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
It's an intranet server. I rebooted and it is working. It IS saying
"out of memory"
[13-Jun-2007 11:38:51] PHP Fatal error: Out of memory (allocated
- (tried to allocate 12729537 bytes) in
C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940
[13-Jun-2007 11:40:02] PHP Fatal error: Out of memory (allocated
- (tried to allocate 12728784 bytes) in
C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940
[13-Jun-2007 11:42:04] PHP Fatal error: Out of memory (allocated
- (tried to allocate 12735907 bytes) in
C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940
and phpinfo()
does show -1 for memory limit.
I must admit it hadn't been rebooted for nearly 2 months.
Wait and see time I think.
Hi.
Are there any special concerns for setting memory_limit to -1 in
PHP.INI on Windows (using Sambar Server, not IIS/Apache).I'm getting "Out of memory" errors recently. Memory is good.
Admittedly the code is trying to add a 12MG file as an attachment
(using htmlmimemail5 from phpguru.org).5MG attachments are OK, but the 12MG isn't.
The server is internal so the limit is not required.
Confused.
Is this a production server which might literally be running out of
RAM?... If so, not much can be done to fix that... :-vDoes the error actually say "out of memory" or "memory limit reached"?
I think you get different error if you are triggering the
memory_limit than, say, really running out of RAM.Also double-check
phpinfo()
to be sure your memory_limit setting is
what you think it is.--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"