Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2006, 02:02 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Quote:
Originally Posted by Angelox
but I never see the 650mb issue again
For what its worth, I suspect that this is just windows lying to you. My guess is that the first zone got the shared memory accounted for in its displayed size, but the other zones did not, because they didnt "create" it. When you killed it, the shared mem would have seemed to disappear, but the memory was still allocated, and windows just didnt know who to "blame" it on, so it didnt display it.

Quote:
Originally Posted by eq4me
Well, enough of my ramblings. Maybe someone with more knowledge about the inner workings of EQEmu can comment on this.
Not to derail the thread, but I dont want to leave this unanswered.

Anywhere we can, we use a map, and where we cannot (shared memory), we already use a double pointer system. There is no reasonable way to run a map against shared memory however. Further, a map is still a O(log n) data structure, and with the number of items we have, log(n) is on the order of 15-16... and thats wayyyy too many operations (not even considering the constant factor) for the frequency at which we do item lookups.

The other things which are stored in shared memory, and hence have similar space constraints, are going to have a similar story behind them. They are there for one of two reasons: runtime effeciency or space effeciency. Items happens to be both. We hate shared memory, and try to get rid of it whenever possible, but not using it would be worse.
Reply With Quote
  #2  
Old 09-11-2006, 03:04 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Quote:
Originally Posted by Angelox
but I never see the 650mb issue again

For what its worth, I suspect that this is just windows lying to you. My guess is that the first zone got the shared memory accounted for in its displayed size, but the other zones did not, because they didnt "create" it. When you killed it, the shared mem would have seemed to disappear, but the memory was still allocated, and windows just didnt know who to "blame" it on, so it didnt display it.
I figured that out eventually, but forgot about it since it's corrected anyways.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:59 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3