User Control Panel
Advertisements

HELP US, HELP YOU!

Computer memory

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Bot Depot Forum Index -> Recycle Bin 2.0
View unanswered posts
Author Message
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Mon Feb 02, 2004 6:37 pm    Post subject: Reply with quote

Ok, this poll has a purpose. It is to show that your computer has a lot of memory and you should be taking advantage of it.

I see so many commands and other code where each time they are run, they open a file or several files, load data from those files, get a random line or count the lines or whatever, then close the file and let go of the data they read in. This is inefficient.

Why not read the data in once when your bot starts, store it in memory, use it when needed and NOT delete it from memory, so that it is there ready the next time it is needed.

Let's say you have a 1000 line Yomama joke database stored in a file. If each line is 100 characters, that is 100K of memory. Can your computer spare that much?? Razz

This issue is even more extreme when you are opening, reading and closing a file every single time a message comes in to determine if the username is an admin, like the old wiredbots code did. Fortunately, Andromeda and other new bots have fixed this.

Ok, that's my lecture for today.
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Mon Feb 02, 2004 6:39 pm    Post subject: Reply with quote

wow i got the most so far:D
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Tue Feb 03, 2004 12:03 am    Post subject: Reply with quote

heh an i have the least, besides the "other"
128 megs Sad

hope to build a new computer soon tho!
Back to top
Rameses
Senior Member
Senior Member


Joined: 02 Feb 2004
Posts: 182

Reputation: 31.1Reputation: 31.1Reputation: 31.1

PostPosted: Tue Feb 03, 2004 12:07 am    Post subject: Reply with quote

384 here Very Happy T'was 128 but I made an upgrade. Same w/ you, Keenie, I hope to build a new computer as well. Very Happy
Back to top
Luke
Member
Member


Joined: 01 Nov 2003
Posts: 111

Reputation: 32.8Reputation: 32.8Reputation: 32.8

PostPosted: Tue Feb 03, 2004 1:48 pm    Post subject: Reply with quote

256SD...

Keenie better not say how much video ram he has or they will laugh at him Razz
Back to top
Sypher
Senior Member
Senior Member


Joined: 01 Jan 2004
Posts: 233
Location: The Netherlands
Reputation: 39.8Reputation: 39.8Reputation: 39.8Reputation: 39.8

PostPosted: Tue Feb 03, 2004 2:49 pm    Post subject: Reply with quote

768 DDR - but 1024 Paired in a couple of weeks Smile
_________________
Sypher
Developer of Codera
Back to top
jordanovjarra
Member
Member


Joined: 07 Nov 2003
Posts: 140

Reputation: 33.2Reputation: 33.2Reputation: 33.2

PostPosted: Tue Feb 03, 2004 4:22 pm    Post subject: Reply with quote

Mine has 384mb on this pc lol
Back to top
bryan_rolfe9
Young One
Young One


Joined: 25 Jan 2004
Posts: 63

Reputation: 29Reputation: 29Reputation: 29

PostPosted: Fri Feb 06, 2004 12:08 am    Post subject: Reply with quote

My comp has 180 gigs (2 harddrives) Very Happy Smile
oh i have 128 mb ram if that wut you mean... oops
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Fri Feb 06, 2004 12:11 am    Post subject: Reply with quote

Memory. Not disk space. Memory is not hard drives.
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Tony_shu
God Like
God Like


Joined: 12 Nov 2003
Posts: 624

Reputation: 42.9Reputation: 42.9Reputation: 42.9Reputation: 42.9

PostPosted: Fri Feb 06, 2004 12:22 am    Post subject: Reply with quote

Well....if you up "virtual" memory...that can include disk space
_________________
Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
Back to top
bob
Newbie
Newbie


Joined: 23 Dec 2003
Posts: 23

Reputation: 29.3Reputation: 29.3Reputation: 29.3

PostPosted: Fri Feb 06, 2004 11:48 pm    Post subject: Reply with quote

i got 756 :$.. and 60gb harddrive.. Razz.. i am gonna get 2 1gb rams eventually Razz
Back to top
GiL
Not Yet a God
Not Yet a God


Joined: 06 Jan 2004
Posts: 344

Reputation: 35.3Reputation: 35.3Reputation: 35.3Reputation: 35.3

PostPosted: Sat Feb 07, 2004 8:36 am    Post subject: Reply with quote

Well... On this comp I have 256 Sad But like in a week im getting a new comp wit 512 Smile always can get more Very Happy
Back to top
Future owner of cheatbot
Senior Member
Senior Member


Joined: 02 Jan 2004
Posts: 161

Reputation: 31.7Reputation: 31.7Reputation: 31.7

PostPosted: Wed Feb 25, 2004 1:40 am    Post subject: Reply with quote

i have the lowest Sad 64m of ram no video card i tossing this comp sooner or later
Back to top
Rameses
Senior Member
Senior Member


Joined: 02 Feb 2004
Posts: 182

Reputation: 31.1Reputation: 31.1Reputation: 31.1

PostPosted: Wed Feb 25, 2004 1:47 am    Post subject: Reply with quote

::screams hysterically:: NOT 64! NOOOOOOOO! Oh.. sorry.. That stinks... lol! Laughing
Back to top
Future owner of cheatbot
Senior Member
Senior Member


Joined: 02 Jan 2004
Posts: 161

Reputation: 31.7Reputation: 31.7Reputation: 31.7

PostPosted: Wed Feb 25, 2004 1:50 am    Post subject: Reply with quote

lol i dont blame ya
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Bot Depot Forum Index -> Recycle Bin 2.0 All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group