Page 6 of 24

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 10:42
by hackie
Big failure :

Ofcourse its me again :roflol:

Fatal error : out of memory <allocated 1987051520> (tried to allocate 65488 bytes) in UASECO/plugins/plugin.panels.php on line 823

Uaseco shuts down when I join server.
When I join server uaseco already left , nothing to see.

I remember I need something to copy ? from dedicated server files ?

Sorry , but no go for me. :roflol:

My machine has 4GB installed so memory enough I think.

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 13:15
by undef.de
hackie wrote: Fatal error : out of memory <allocated 1987051520> (tried to allocate 65488 bytes) in UASECO/plugins/plugin.panels.php on line 823
oO why so much memory required on Windows?
Try to change line 2226 in uaseco.php from

Code: Select all

ini_set('memory_limit', '192M');
to

Code: Select all

ini_set('memory_limit', '256M');
or larger and please report back the result.

EDIT: On my development server i have with all Plugins enabled this MEM-Usage: 72.1432 MB -> PEAK: 106.712 MB

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 13:57
by hackie
undef.de wrote:
hackie wrote: Fatal error : out of memory <allocated 1987051520> (tried to allocate 65488 bytes) in UASECO/plugins/plugin.panels.php on line 823
oO why so much memory required on Windows?
Try to change line 2226 in uaseco.php from

Code: Select all

ini_set('memory_limit', '192M');
to

Code: Select all

ini_set('memory_limit', '256M');
or larger and please report back the result.
Line in red : Dunno , You are the expert :D

But I try as soon as possible.
Still working on my damn **** :lol:

Btw , I loaded 710 maps and it took uaseco 5 min to load maplist.
This was the first time the server started with that amount of maps.

Next start of the server uaseco was a lot faster.

5 min to load a maplist , omg. :roflol:

Thanks for update Def. :thumbsup:


lol , Küche is a bad word ? its get xxxx after the word damn. Stupid forum :lol:

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 13:59
by undef.de
hackie wrote: Btw , I loaded 710 maps and it took uaseco 5 min to load maplist.
This was the first time the server started with that amount of maps.

Next start of the server uaseco was a lot faster.

5 min to load a maplist , omg. :roflol:
Yes, that is too much. I guess i have a solution for that, i test that today.

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 14:01
by hackie
I updated other post :lol:

700 to much , xaseco can handle much more.
I remember servers with 1000 + maps

( don't know for sure but the LOL server in the Netherlands also has a lot of maps )

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 14:24
by undef.de
hackie wrote: 700 to much , xaseco can handle much more.
I remember servers with 1000 + maps
I meant that 5 min. to load is too much, but therefor i have a solution already added. Adding that later to github.

If you want to test it now, edit includes/core/maplist.class.php at line 353 till 372 to:

Code: Select all

		// Add Maps that are not yet stored in the database
		$aseco->db->query('START TRANSACTION;');
		foreach ($database['insert'] as $map) {
			$new = $this->insertMapIntoDatabase($map);

			// Update the Maplist
			if ($new->uid) {
				$this->map_list[$new->uid] = $new;
			}
		}

		// Update Maps that are not up-to-date in the database
		foreach ($database['update'] as $map) {
			$result = $this->updateMapInDatabase($map);

			// Update the Maplist
			if ($result) {
				$this->map_list[$map->uid] = $map;
			}
		}
		$aseco->db->query('COMMIT;');
		unset($database);
Changes are the following at start/end of the code block:

Code: Select all

		$aseco->db->query('START TRANSACTION;');
		$aseco->db->query('COMMIT;');

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 15:20
by hackie
O , nice.

I wait for git , I always mess things up when adding the code.

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 15:23
by hackie
What was that I need to copy ?

from to ?

Something with panels ?

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 15:30
by hackie
Ok , even with mem set to 1024M I get fatal error.

Maybe something to do with those panels ?

See post up.

Re: Feedback and Reports for the development branch

Posted: 01 Nov 2014, 15:43
by Suma
hackie wrote:What was that I need to copy ?

from to ?

Something with panels ?
Open the file includes/core/maplist.class.php in your favourite editor (should be one which can show you line numbers, e.g. wordpad++ or PSPad are lightweight and very good)

Scroll to line 353 and delete lines 353 until 372.

Copy & paste on this place the code which Undef posted above.
:pil