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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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