Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Search Wiki

 

Search Forums

 

Author Topic: memory limits and whatnot  (Read 2973 times)

0 Members and 1 Guest are viewing this topic.

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
memory limits and whatnot
« on: June 21, 2010, 05:12:49 pm »
In order to try to stave off server problems I decreased PHP's memory limit from 100 MB to 32 MB. If a page on the wiki crashes and reports a memory limit error, please post a URL here. Thanks :)
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

Lauryn the Arisen

  • A Shadow Of My Formerself...
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • "That is just offensive what they do." - Ellis
    • View Profile
    • The Hellgar Pack
Re: memory limits and whatnot
« Reply #1 on: June 21, 2010, 06:29:45 pm »
The only thing I've noticed that gets a crashed page, is the GlitchDex, all it does is display a crashed page.
R.I.P. Paul Gray - April 8, 1972 – May 24, 2010.
Aishiteru Mutou Yami-Sama. ♥
Poets of the Fall Addict.
-Trainer Card Coming Soon-
"They are no longer... Human." ~ Yao Hisako [Siren 1/Forbidden Siren]

"Come Arisen... Forge in my fire the next link in the endless chain..." - Grigori the Dragon.

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #2 on: June 21, 2010, 06:44:36 pm »
It seems the glitchdex itself crashes but none of the articles WITHIN it crash. That's helpful.
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

Lauryn the Arisen

  • A Shadow Of My Formerself...
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • "That is just offensive what they do." - Ellis
    • View Profile
    • The Hellgar Pack
Re: memory limits and whatnot
« Reply #3 on: June 21, 2010, 06:47:06 pm »
All I'm left with is a blank screen, so I can't collect HEX codes for my German Blue Project.
R.I.P. Paul Gray - April 8, 1972 – May 24, 2010.
Aishiteru Mutou Yami-Sama. ♥
Poets of the Fall Addict.
-Trainer Card Coming Soon-
"They are no longer... Human." ~ Yao Hisako [Siren 1/Forbidden Siren]

"Come Arisen... Forge in my fire the next link in the endless chain..." - Grigori the Dragon.

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #4 on: June 21, 2010, 07:14:48 pm »
I temporarily raised the memory limit so I could save this. It's a saved copy of the glitchdex front page.

I'm not going to keep it any higher than 32MB though, for the interest of keeping my server alive. If PHP consumes too much memory it will kill the server.
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

Lauryn the Arisen

  • A Shadow Of My Formerself...
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • "That is just offensive what they do." - Ellis
    • View Profile
    • The Hellgar Pack
Re: memory limits and whatnot
« Reply #5 on: June 21, 2010, 09:18:54 pm »
I think the wiki stresses the server to a point of server crash. Thanks for them, and the French A, is nothing more than a pain all it does it display a black screen. Before the wiki, the forum server was fine, but since the wiki's been public, it's been putting the server at some point of server stress.
R.I.P. Paul Gray - April 8, 1972 – May 24, 2010.
Aishiteru Mutou Yami-Sama. ♥
Poets of the Fall Addict.
-Trainer Card Coming Soon-
"They are no longer... Human." ~ Yao Hisako [Siren 1/Forbidden Siren]

"Come Arisen... Forge in my fire the next link in the endless chain..." - Grigori the Dragon.

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #6 on: June 22, 2010, 12:46:28 pm »
The wiki is a necessary evolution of the site. Sometimes we forget that this forum exists only as part of a site... I'm not taking down the wiki for the forum. Since the wiki opened there has been a boost of new articles and improvements to existing ones.
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

Lauryn the Arisen

  • A Shadow Of My Formerself...
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • "That is just offensive what they do." - Ellis
    • View Profile
    • The Hellgar Pack
Re: memory limits and whatnot
« Reply #7 on: June 22, 2010, 01:30:09 pm »
Yes, but it's putting major stress on the server. I tried to use the Red/Blue link, to only get a memory error.
R.I.P. Paul Gray - April 8, 1972 – May 24, 2010.
Aishiteru Mutou Yami-Sama. ♥
Poets of the Fall Addict.
-Trainer Card Coming Soon-
"They are no longer... Human." ~ Yao Hisako [Siren 1/Forbidden Siren]

"Come Arisen... Forge in my fire the next link in the endless chain..." - Grigori the Dragon.

Photon-Phoenix

  • Gotta pop dem windows.
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #8 on: June 22, 2010, 01:35:34 pm »
It's not major stress if it's memory limit. :P

Zach the Glitch Buster

  • Scientist
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #9 on: June 26, 2010, 05:52:24 pm »
Well, if you've set PHP's memory limit to 32 MB and the glitch dex is crashing, but 100 MB is excessive and bad for the server, would something like 45 MB be a way to fix both problems? (The answer is most likely no because I'm guessing that 32 MB wasn't a randomly picked number)

I have a Youtube account, pass it on
     http://www.youtube.com/user/zachtheglitchbuster
I have a twitter as well
@ZacGlitchBuster
I'm a Mac user.

Hālian

  • That worldbuilding/micronations/MTG guy
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • For a better world
    • View Profile
    • Hoennese Realm
Re: memory limits and whatnot
« Reply #10 on: June 26, 2010, 07:32:48 pm »
Maybe more like 48.

Computers like multiples of two.
Hoennese Realm



All sprites made by Naitekiakki, except:
Recolored Gardevoir made by me

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #11 on: June 26, 2010, 10:59:57 pm »
Well, if you've set PHP's memory limit to 32 MB and the glitch dex is crashing, but 100 MB is excessive and bad for the server, would something like 45 MB be a way to fix both problems? (The answer is most likely no because I'm guessing that 32 MB wasn't a randomly picked number)
32 was taken from the Mediawiki documentation. One thing to keep in mind is that GCL is not the only site on this server, and the http daemon isn't the only daemon on the server either.
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

∀xaj

  • is dead
  • Member+
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
    • reply me please
Re: memory limits and whatnot
« Reply #12 on: June 27, 2010, 10:52:40 am »
Maybe more like 48.

Computers like multiples of two.

s/multiples/exponents

Something like 64.



Zach the Glitch Buster

  • Scientist
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #13 on: June 30, 2010, 01:50:43 pm »
Wait a minute. The glitchdex on the old site is still up and running. Would it be possible to link everyone from the wiki to the glitchdex on the old site? Because if all of the glitchdex pages on the wiki still worked, then you could just link the glitchdex on the old site to the wiki pages on the individual glitches. Also, to prevent people from going through the old site, the sidebars and header could be removed.

Its a bit of a pain but it would restore the glitchdex and I'd say it be worth it after all the hard work that was put into the glitchdex.

I have a Youtube account, pass it on
     http://www.youtube.com/user/zachtheglitchbuster
I have a twitter as well
@ZacGlitchBuster
I'm a Mac user.

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: memory limits and whatnot
« Reply #14 on: July 11, 2010, 01:34:22 am »
I've increased the memory limit to 64 MB for the time being. I'm running with this for a while, let's see how it goes.
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member