PenUltima Online

It is currently Wed Aug 27, 2008 10:36 pm

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Exception in: .....: bad allocation
PostPosted: Thu Sep 28, 2006 2:06 pm 
Offline

Joined: Sun Feb 05, 2006 2:00 am
Posts: 91
Location: Denmark
Code:
[09/28 21:11:29] Exception in: pkg/system/web/doinsertmostonline.eclteger: bad allocation
PC < nLines: (licObjS141:  141: local #4
142:  142: Call Method id append (#52, 1 params)
143:  143: #
144:  144: "MostOnline"
145:  145: local #1
146:  146: Func(2,2): SetGlobalProperty
147: >147: #
148:  148: "#MostOnlineCritical"
149:  149: makelocal
150:  150: jmp userfunc @169
151:  151: #
[09/28 21:12:01] sysload=30 (27) cputime=3234375

This exception did not crash the shard, and it seem to happen when I tried to set a global prop containing a very large 3 dimentionel array. (The size of the array was about 14000 element)

The beginning of the array look fine, but the last 30% of it look like this:
Code:
........Unable to extract type charactere1:S9:errortextS32:Unable to extract type charactere1:S9:errortextS32:................

Any clues?

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 2:31 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 834
Location: Indiana, USA
Use a datafile for this instead. Wow, lot of elements :)

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 11:50 pm 
Offline

Joined: Fri Aug 11, 2006 2:54 am
Posts: 74
But "Bad allocation" what it really means? Because some time i have some message of bad allocation...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 29, 2006 12:05 am 
Offline

Joined: Sun Feb 05, 2006 2:00 am
Posts: 91
Location: Denmark
This bad allocation happens in a script started by a logoff script (start_script() ).
I believe it is related to the connection problem, so check your logoff script, shaka drl.

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 29, 2006 2:24 am 
Offline

Joined: Fri Aug 11, 2006 2:54 am
Posts: 74
Ok, i will check it :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl