Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 15, 2022, 10:04:44 PM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 53
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 42
Total: 42

Author Topic: Memory limit problem  (Read 9096 times)

0 Members and 1 Guest are viewing this topic.

Heero

  • Guest
Memory limit problem
« on: October 30, 2008, 05:05:11 PM »
Hi peoplez.

Lately I'm encountering many memory limit problems and my host won't increase the size.
At least I'd have to buy a private server of them to get the cpu..

Is there any possible way to make specific pages work without increasing that limit?

It mostly happens when I'm including the SSI file of smf.

Thanks in advance.
> Heero

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Memory limit problem
« Reply #1 on: October 30, 2008, 05:36:54 PM »
What is the memory limit set at?

Heero

  • Guest
Re: Memory limit problem
« Reply #2 on: October 30, 2008, 07:51:51 PM »
I'm not sure, but I think it was 8.
My previous host increased it to 13-14 which was enough.

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Memory limit problem
« Reply #3 on: October 30, 2008, 08:41:03 PM »
Any good host should AT LEAST allow it to be set at 16MB. You shouldn't ever need any more than that.

Heero

  • Guest
Re: Memory limit problem
« Reply #4 on: October 31, 2008, 05:43:50 AM »
Well .. So I'm pretty dead for that part I guess.
Or do you know another method?

I was thinking of caching but I'm not sure if it would work ( only heard about it, never used it).
And I am not allowed to use a persistent connection :/ (would fix all if I activate).

Offline Ken.

  • Support Team
  • *
  • Posts: 4362
    • Our FamilyForum
Re: Memory limit problem
« Reply #5 on: October 31, 2008, 07:18:37 AM »
If your host has limited you in this way maybe you should consider changing to one that is more flexible and gives you more room  to work with.
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Heero

  • Guest
Re: Memory limit problem
« Reply #6 on: October 31, 2008, 07:58:08 AM »
Well everything is fine.
I gain unlimited space and transfer.
Their support is great, but its the only problem.

Isn't there a way to edit the SSI using less memory or so?

Also, thanks for the responses.

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Memory limit problem
« Reply #7 on: October 31, 2008, 10:42:02 AM »
No there is no way. Memory used isn't by just one script. It is the accumulation of code that gets input when a single page is hit. For instance, when you hit the page to view a topic, it has to hit the database and pull all of that info, and put it into PHP arrays and variables etc. Essentially, all of the database info, and code is put into memory and compiled at runtime. There is no such setting that will make a script use less memory. In order to make a script use less memory you would have to change the code and what it does as a whole. If you're host won't bump up the memory limit to at least 16MB, its plain and simple that you have no choice but to change hosts.

And for the record, unlimited resources is the sign of an over-selling host. Nothing is unlimited. I can promise you, that if you started getting a HUGE site, that they would quickly force you to get a bigger plan or to move to a VPS or Dedicated server.

Heero

  • Guest
Re: Memory limit problem
« Reply #8 on: October 31, 2008, 10:46:40 AM »
Well, I'm not sure if I may ask but any suggestions which host I could take?