Jump to content
  • 0

L2Off + php error


Question

Posted

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 24064 bytes) in E:\wamp\www

 

i need to make 1 php file for see all char name

but he give me this error

3 answers to this question

Recommended Posts

  • 0
Posted

check, were it sets the allocated memory. You use wamp on server machine ? Its easier to run a site on a linux host with FreeTDS.

  • 0
Posted

8388608 bytes? how many characters are you trying to query? I think your script has some bad management of resources to consume 8mb of data just for character names, even in unicode 8mb is almost 168,000 character names.

So I would examine your script and make sure that resources such as the sql row data are deleted once you have done what you need with them, and also look at limiting the data that is returned to exactly what you need.

 

But anyway.

php.ini:

; Maximum amount of memory a script may consume (128MB)

; http://php.net/memory-limit

memory_limit = 8M

 

Set that to 128M or something and it shouldn't error anymore.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hey, any one can help me or tell advice how to make this shown damage on screen directly on enemy when im hitting it, becuase now this damage is located on my screen near my character. What script or what interface.u class i need modify?
    • Opening Date: Q4 2026 (exact date TBA) Chronicle: High Five (H5) Rates: Mob EXP/SP: low (secondary) | PvP EXP: main progression source (custom formula, exact rate TBA)   Hey everyone,   Announcing L2Berserk, a custom Lineage 2 High Five project currently in development. This is a solo project, so progress may take a bit longer than a full team would need — but it's moving forward steadily. The idea behind it is simple: most servers either force you into rigid factions or let PvP happen almost by accident while everyone grinds mobs for hours. L2Berserk is a crossover of both worlds — there's no faction split, no separate towns, everyone spawns and plays in one shared hub, but progression itself is built around fighting other players instead of farming spots. If you enjoy PvP more than staring at a bot-farming route, this is being built with you in mind.   Already implemented: Custom launcher — own CDN and updater, auto-detects your existing install so setup is fast and low-friction Tower of Trials — a 10-floor PvE dungeon, 3 monster waves per floor, difficulty scales as you climb; built as a solo/small-group challenge track separate from the PvP-EXP loop PvP Arena — an NPC that queues players into Party vs Party or Command Channel vs Command Channel arena matches on demand Olympiad — implemented and functional for structured 1v1/team PvP Event Manager — automated system running rotating events every 10 minutes non-stop, so there's always something active for players to jump into Single shared hub — no faction-locked zones; PvP-driven EXP progression is the main way you level PvP Zone — a dedicated zone avaiable through PvP Zone Teleport Scroll. Zones have boundaries so players won't run from pvp forever. Planned: Kill-streak rewards / bounty system — the more active you are in PvP, the more visible and rewarded you become PvP ranking / leaderboard with seasonal recognition More content and events Additional Discord integrations A live testing phase with the community before the official opening, so mechanics get stress-tested before Q4 A lot more features are planned beyond what's listed here — the project is still actively growing If you have suggestions, feel free to post them on Discord   A note on where things stand: the server is currently offline (0% uptime) — that's expected at this early stage, not a sign the project stalled. Following along and feedback from anyone interested in this kind of PvP-first server are very welcome.   Website: l2berserk.fun
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..