Jump to content
  • 0
Timokha

Memory manager / memmgr_alloc failed

Question

Hello all,

 

After a few days, sometimes after a week from the start,

The living server sometimes shows the following fatal error and the server terminates.

Has anyone faced it? Any solutions to avoid it?

 

[Fatal Error]: Memory manager::memmgr_alloc failed (allocating 28+5422080 bytes at script.c:4050).

 

Script.c at line 4050 shows:

//
// Stack operations
//

/// Increases the size of the stack
static void stack_expand(struct script_stack *stack)
{
	nullpo_retv(stack);
	stack->sp_max += 64;
	stack->stack_data = (struct script_data*)aRealloc(stack->stack_data,
LINE 4050 //	stack->sp_max * sizeof(stack->stack_data[0]) );
	memset(stack->stack_data + (stack->sp_max - 64), 0,
			64 * sizeof(stack->stack_data[0]) );
}

 

fsgsgsgsg.png

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

this look like out of memory issue (out of ram)

try close other programs what eating memory or increase memory in your system

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.