Problem with data. Pls help!

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Problem with data. Pls help!

Post by Syco »

Hi all :)
I need some help :P
Sorry for bad english :P

I have tried to load some data but...

POL096-2006-06-09 Vestal Virgin (VS.NET 2003) compiled on Jun 9 2006 12:09:58
Copyright (C) 1993-2006 Eric N. Swanson

blablabla..

Reading data files:
data/accounts.txt:....... 7421 elements in 1109 ms.
data/pol.txt: 2 elements in 16 ms.
data/objects.txt: 0 elements in 0 ms.
data/pcs.txt:............................. 29827 elements in 18437 ms.
data/pcequip.txt:................................................................................................................................................................................................................................................................................................................................................................................................... 386234 elements in 42828 ms.
data/npcs.txt:................................ 32874 elements in 11547 ms.
data/npcequip.txt:...................................................... 53961 elements in 24391 ms.
data/items.txt:......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1048266 elements in 223407 ms.
data/permitems.txt: 0 elements in 0 ms.
data/multis.txt: 581 elements in 984 ms.
data/storage.txt:.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Error reading configuration file data/storage.txt:
bad allocation
Near line: 13186646
Element started on line: 13186631
Server Shutdown: reading data

I have tried with 4 differents save but same error.
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

what about your hardware specifications? do u have enough memory? is your swap-file large enough (enough HDD space available)? what's the size of your data files?

Shinigami
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Post by Syco »

3800 cpu
2GB ram real.2,5 with swap.
HDD with os 1GB free.
HDD with POL 80GB free.

Datasize 650 MB

EDIT:
pc farm:

2,4 dual opteron
2,5GB ram
HDD 300GB

Tnx :)
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Post by Syco »

Pls! I really need help T_T
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

650mb datasize... strange... I think there is a lot inside u never need

anyway "bad allocation" says something about it was impossible to allocate more memory for core by operating system... that's the problem here

because of your huge files... did u've set

Code: Select all

#
# UseWinLFH: Use Windows XP/2003 low-fragmentation Heap.
#            0|1 (default = 1)
#
UseWinLFH 1
in your servspecopt.cfg? if not, try it

Shinigami
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Post by Syco »

With UseWinLFH=1 same error :(
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

maybe I can build a special release showing what's going wrong in your case

Shinigami
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Post by Syco »

Tnx :)
hedo

Post by hedo »

Shinigami wrote:maybe I can build a special release showing what's going wrong in your case

Shinigami
Hi Shinigami :)

Is it possibile to try this special release? :)
I've just got the same error :(
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

Did you've access to the old pol core test groups on yahoo?
There is a pearl script to clean up the storage.txt file from things that are no more needed.
In most cases these are bankboxes of non existent players or from tamed animals. If they were not deleted by script on npc death or player deletion, the storage will grow larger and larger.
This tool will search for such items.

Old Core Area


Another thing you can do if i see that:
data/items.txt:......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1048266 elements in 223407 ms.
If these are not items your players have in their homes - don't know how many players you have - their must be a lot items you can make static. This could also save you a lot of wasted memory :wink:
Syco
New User
Posts: 8
Joined: Sun Jun 18, 2006 11:30 am

Post by Syco »

We have fix it :)
Tnx :)
jareth
New User
Posts: 7
Joined: Tue Jul 18, 2006 3:26 pm

Post by jareth »

Hi syco,
i have your same problem, could u help me to fix it?

tnx
Post Reply