Out of memory at line XXX

iant79

Suspended / Banned
Messages
173
Name
Ian
Edit My Images
Yes
Hi All,

I'm currently in the process of building my website, but sometimes when I attempt to access the site I get the error message "Out of memory at line XXX" and reference to my D:\ drive

What's confusing me is that this happens some times but not others. I know I have enough memory free on my laptop in all drives (I had a clear out recently) and enough bandwidth with my external host (uk.webhosting) any idea what might be causing this?

Cheers,

I.
 
Hmmm. That is unusual. Can you post the script line it raises the error on? Suspect it'll be a PHP script.

Andy.


Cheers Andy, it's brought a few lines up. I'll take a note next time the issue arises - the site seems to look OK at the moment - http://iantaylorimages.co.uk/

I'm at work at the moment so can't log in to have a rake around.

Cheers.
 
It certainly seems ok to me at the moment. I've reloaded quite a few times and tried different pages. All load without error. If you could take note next time you see an error let us know.

Cheers,
Andy.
 
I'd contact the web host. It could be that they've not got enough memory or are overloading how many site are shared on the one server.

One of the gallery plugins I looked at gave a memory error when you tried to upload images. Seemed to upload them in the end though.
 
This is what appeared in the "QuickPress" section on my WP dashboard:

Fatal error: Out of memory (allocated 8650752) (tried to allocate 6144 bytes) in D:\HostingSpaces\iantaylo\iantaylorimages.co.uk\wwwroot\wp-includes\deprecated.php on line 1197
 
Cheers All,

It's been happening again today :bang: - both on the external site and WP dashboard. I'm currently at the "giving host tech support" and earful" stage.
 
Do you get this message when trying to upload a file? If so, see what your hosting Co has set your upload_max_filesize in php.ini
 
is that actually referring to a file on your d: drive?

if so id be asking myself why my webpage is trying to load something on my computer.

The path is fine, I don't think its reffering to his own computer by looking at the folder names. Just a hunch.

They are however hosting php sites on a windows server which strikes me as strange. Not only is it more expensive for them but php runs better on linux based machines.

The memory limit fix may work but it depends on how there php enviroment is setup and if they are willing to change their php.ini file.
 
Back
Top