• 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!

Windows Not enough memory while loading npc scripts

Elwyn

Well-Known Member
Joined
Aug 24, 2014
Messages
212
Reaction score
76
Hello.
I'm moderator at an Brazilian ot forum and today one user came with a rather curious error.
While having 6Gb of RAM, he gets "Not enough memory" when loading Printer's global datapack (https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS)

When loading TFS basic datapack (the one at their repo https://github.com/otland/forgottenserver/) everything goes right on startup.

The user computer spec: https://i.imgur.com/2jCOz2b.png
Prompt message when loading with Printer's datapack: https://i.imgur.com/wZCPpji.png
Prompt when loading without npc folder: https://i.imgur.com/iLNpyVe.png

When he loads Printer's datapack without npc folder, it stays up for sometime and then it freeze again (stop answering). I'm guessing his computer has a memory leak of some sort, since I didn't get those errors using the same datapack and compiling the same source both on Windows 7 and on Linux Mint 17.

Has this ever happened to anyone here?

Edit: Forgot to ask him the most important question, if he compiled the source for 64bits. I'll ask him and edit here.
Edit2: Yes he did compile for 64bits: https://imgur.com/VwWxLHK
 
Last edited:
Upon startup, he had available 5GB. I'll ask him to monitor task manager prior to launch, during launch, during freeze and after freeze.
 
I also have "memory" problems when I try to run TFS locally on my computer (6 GB RAM). I think he simply needs more RAM to run a real map, his computer doesn't have enough memory for it. I can only run it for about 10 minutes before it will crash, if I ever try to "/reload" npcs or anything I get those errors "not enough memory".
 
Usable 5.84GBs; Used by windows 1.0 GBs; Xampp + Chrome + Skype + other stuff 500-700MBs.

Do the math and you will see he has nowhere near enough ram for this. You need at least 6GBs available for this, he does not even have 6 in total.
 
Usable 5.84GBs; Used by windows 1.0 GBs; Xampp + Chrome + Skype + other stuff 500-700MBs.

Do the math and you will see he has nowhere near enough ram for this. You need at least 6GBs available for this, he does not even have 6 in total.

I agree, it's very likely that the 5Gb available was not totally available only to the TFS. By your and imkingran reply I think we can say for sure it's really not having enough memory and not some sort of memory leak that I first thought was the problem. Thanks for the help! :)
 
Back
Top Bottom