Pol.exe taking VERY much ram?

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Pol.exe taking VERY much ram?

Post by Terryl »

When pol.exe have read in items.txt (70 Mb) and storage.txt (90 Mb) pol.exe starts taking 1.3 Gb of ram, is that normal? I never had this problem before, but now when ima temporarily host a server for a friend it takes way too much ram. Anyon know a way to fix this? running pol095
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Post by Terryl »

stupid as I am I did not run a debug right away.. :/ anyhow, when I do I get this error:

Server Shutdown: reading starting locations
Execution aborted due to: Error opening file realm/main/base.dat: ios failure

Not having a realm folder might cause that? :p Anyone know ?
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

I thought you were running pol095, appears not.

I don't know what the realm/main directory is. I'd be expecting Ilshenar or Britannia but that's 096/097 only. Don't know how successful having custom realm names would be.

For your information:
After startup my 097 shard takes up around 600MB of ram, and that's with 60,000 top level items and 16,000 npcs and 0 players online and all realms loaded. (My storage and item files are only about 18MB.) I really need to talk to my staff about them creating so many items!

At startup all the npcs take up a lot of processing power until they go to sleep, but you aren't even getting that far.
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Post by Terryl »

OldnGrey wrote:I thought you were running pol095, appears not.

I don't know what the realm/main directory is. I'd be expecting Ilshenar or Britannia but that's 096/097 only. Don't know how successful having custom realm names would be.

For your information:
After startup my 097 shard takes up around 600MB of ram, and that's with 60,000 top level items and 16,000 npcs and 0 players online and all realms loaded. (My storage and item files are only about 18MB.) I really need to talk to my staff about them creating so many items!

At startup all the npcs take up a lot of processing power until they go to sleep, but you aren't even getting that far.

If I run it in normal mode (only stops in debug mode) sure enough it reads in all the data files, but everyone connecting (including me from lan) gets stuck at verifying account, it still uses 1.5 Gb ram and wont let anyone on. And for the record it sais its pol 095 and its supposed to be :P The CPU does nothing really, around 5% of my maximum, just that it takes way too much ram, which makes me think theres some script thats bugged or sum.


Might add that actually reading the data files took around 45 min...
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Is the server allowing for virtual memory? If not, thats your problem.
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Post by Terryl »

CWO wrote:Is the server allowing for virtual memory? If not, thats your problem.
dunno what that is really :p
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Virtual memory is basically using your hard drive as extra RAM. By default in Windows, this is turned on and Windows manages it. There is a way to shut it off though which means EVERYTHING will be in RAM. Usually its used for things that have to be in memory but aren't used a lot or its used when you're low on RAM (for unused things usually because RAM is a ton faster than your HD) just so things don't crash from being denied more memory because theres no RAM left. But if you don't know what it is and no one else configures that on your computer, its probably turned on. I was asking that because my shard takes 350MB RAM with 30 people online but at the same time takes 700MB virtual memory.

You can see how much virtual memory its taking by going to your processes on the Task manager and going to View -> Select Columns and putting a check in Virtual Memory Size.

You can set Virtual Memory options by right clicking on My Computer, going to Properties, Advanced Tab, hit the settings button in the Performance box, go to the Advanced Tab, and at the bottom it should list the current size of your Virtual Memory. Its highly recommended you don't mess with these settings unless you really know what you're doing though. If Windows manages it or its larger than the amount you're using, there is no way to force POL to use more Virtual Memory.
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Post by Terryl »

CWO wrote:Virtual memory is basically using your hard drive as extra RAM. By default in Windows, this is turned on and Windows manages it. There is a way to shut it off though which means EVERYTHING will be in RAM. Usually its used for things that have to be in memory but aren't used a lot or its used when you're low on RAM (for unused things usually because RAM is a ton faster than your HD) just so things don't crash from being denied more memory because theres no RAM left. But if you don't know what it is and no one else configures that on your computer, its probably turned on. I was asking that because my shard takes 350MB RAM with 30 people online but at the same time takes 700MB virtual memory.

You can see how much virtual memory its taking by going to your processes on the Task manager and going to View -> Select Columns and putting a check in Virtual Memory Size.

You can set Virtual Memory options by right clicking on My Computer, going to Properties, Advanced Tab, hit the settings button in the Performance box, go to the Advanced Tab, and at the bottom it should list the current size of your Virtual Memory. Its highly recommended you don't mess with these settings unless you really know what you're doing though. If Windows manages it or its larger than the amount you're using, there is no way to force POL to use more Virtual Memory.
Ye, I think I found a problem, my hdd seems near to a breakdown, had it lock up and make bad noises today :/ Think that's why it couldn't be used as virtual memory... :/
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

Ick!!!
HD + bad noises = Headache
Terryl
Neophyte Poster
Posts: 32
Joined: Thu Aug 10, 2006 9:59 am

Post by Terryl »

Yukiko wrote:Ick!!!
HD + bad noises = Headache
Ye, I mean when a friend can start up the same scripts on a laptop with 512 mb ram and 4200 rpm hdd and I cant do it on mine with 1024 mb ram and 7200 rpm hdd something seems wrong. And it seems it was the hdd :/ 3 years of duty has put some nicks in it :p Well, thanks for your help everyone ;) Guess ill go buy more ram or sum :p
Post Reply