• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux [TFS 1.3/Debian12] Allocation failed, server out of memory.

Kronks

New Member
Joined
Aug 30, 2021
Messages
2
Reaction score
0
OS: Debian 12 Bookworm
Kernel: Linux 5.10.0-8-amd64
Arch: x86-64
CPU: i5 - 4 cores
RAM: 8GB

Map size: 3.3Mb
System monitor showed everything fine, there was 6gb of free ram when this happened

Code:
Allocation failed, server out of memory.
Decrease the size of your map or compile in 64 bits mode.


Hello, I'm having this issue here. I'm trying to figure out how to "compile in 64 bit mode". Is it in CMakeLists.txt? An option passed to make or cmake?
I did as instructed in github/forgottenserver


I'm new to this so still figuring things out.
 
Last edited:
Fixed? I don't know.
I've recompiled the server in Debug mode with:
Code:
 $  cmake -DCMAKE_BUILD_TYPE=Debug ..

Also I noticed that Znote MyAAC, assigns Town IDs and XYZ positions that do not match the current map. I fixed that also.

The server has been running for the past 5 hours with no hick ups, glitches, crashes or segmentation faults. This was done in the following environment:

Qemu/KVM VM
OS: Debian 11 Stable
vCPU: 3
RAM: 6144MB
Arch: amd64

WebServer: Apache2
DB: MariaDB
CGI Scripting: PHP
and phpMyAdmin
Site: Znote MyAAC

Well should I mark it as solved? I don't know because I'm not really sure which actions I took solved the problem.
 
Back
Top