Timokha 0 Posted June 18, 2023 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]) ); } Quote Share this post Link to post Share on other sites
0 4144 366 Posted June 18, 2023 this look like out of memory issue (out of ram) try close other programs what eating memory or increase memory in your system Quote Share this post Link to post Share on other sites
0 Timokha 0 Posted June 18, 2023 Noted, thank you, shall try. Quote Share this post Link to post Share on other sites
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]) ); }
Share this post
Link to post
Share on other sites