Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-02-08 06:59:53

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Error while converting

Got this error while converting from "upload from FTP"

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2648622408 bytes) in /libraries/moovrelocator/moovrelocator.php on line 504

Offline

#2 2014-02-08 08:21:29

Tigershark87
Member
Registered: 2012-12-05
Posts: 55

Re: Error while converting

This is probably a dumb question, but what is your memory limit in your php.ini settings?

Example: Locate your php.ini on the server and look for "memory_limit", what value does it tell you? (Default is normally 128M), try increasing the limit to say 256M or 512M ..

This is just my suggestion, I hope it helps.

Offline

#3 2014-02-08 19:52:43

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: Error while converting

It's already at 512M.

Offline

#4 2014-02-08 20:08:36

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Error while converting

You can always set it unlimited.... (-1)  big_smile
but this may slow down your system if the PHP script starts using an excessive amount of memory, causing a lot of swap space usage, though I have not ever experience such situation on my previous server. On current server I have 1001MB limit.

Always you can use any number as you wish and find it safe.
On clients servers I used to set it over 1000MB (1001 or 1024)

Last edited by Nuevolab (2014-02-09 08:40:00)

Offline

#5 2014-02-09 03:03:17

Tigershark87
Member
Registered: 2012-12-05
Posts: 55

Re: Error while converting

Nuevolab wrote:

You can always set it unlimited.... (-1)  smile
but this may slow down your system if the PHP script starts using an excessive amount of memory, causing a lot of swap space usage, though I have not ever experience such situation on my previous server. On current server I have 1001MB limit.

Always you can use any number as you wish and find it safe.
On clients servers I used to set it over 1000MB (1001 or 1024)

I would HIGHLY advise NOT using -1 (unlimited memory allocation). This is VERY dangerous, because you're essentially telling the server that the PHP script will keep taking memory until your server has none left to allocate and might crash. Also = Having such a high memory allocation may limit your ability to have multiple simultaneous connections run efficiently , which as we know is the most important aspect of running an web server.

So you should ONLY use this (-1) if you're 100% sure the script itself isn't causing the problem, and you merely want to test the output.

Hopefully the Admin can follow up with some assistance to troubleshoot.

Offline

#6 2014-02-09 08:41:28

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Error while converting

Tigershark87 wrote:

ript itself isn't causing the problem, and you merely want to test the output.

Did I wrote something different that you quote me?
I wrote it rather as a joke but explained, seems you take things too seriously.

Last edited by Nuevolab (2014-02-09 09:11:37)

Offline

#7 2014-02-09 10:37:46

Tigershark87
Member
Registered: 2012-12-05
Posts: 55

Re: Error while converting

Nuevolab wrote:
Tigershark87 wrote:

ript itself isn't causing the problem, and you merely want to test the output.

Did I wrote something different that you quote me?
I wrote it rather as a joke but explained, seems you take things too seriously.

I suppose being a project manager for 35 years in Silicon Valley lends to taking things rather seriously when it comes to delivering quality information to users with questions with regards to server administration, or a user's experience. In other words I'm an old guy smile , so my ways might be different than yours but doesn't mean they are invalid. With that said, I was merely pointing out that users should at least understand not to use that command unless they are testing an specific scenario. You mentioned it will slow down the system which is correct, HOWEVER I wanted to shed more details over WHY this would happen and also what it means to use such a command smile .

I've seen MANY users use that command because they think its a magical answer to their problem. So I wasn't typing my paragraph to show hostility towards YOU so apologies if you took it in that context.

Having said that, I fully respect your work as our company is looking to purchase a license this month for our new site. Look forward to working using your player soon smile

Thanks,
Phil

Last edited by Tigershark87 (2014-02-09 10:42:37)

Offline

#8 2014-02-10 09:03:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Error while converting

Please install qt-faststart. This way you wont need to use the moovrelocator php library.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB