SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 07/06/2010, 11:49 PM   #1
Saurik
High-roller
 
Saurik's Avatar
 
Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,269
Reputation: 253
Default 1GB of Memory [Help]

Hello guys!

Recently i moved to my friends Dedi [Dedicated server] Everything was going well. Out of nowhere, my server took up 1GB of memory in 2 weeks. I checked my files and they are only 5mb...

What causes this? What causes this huge amount of memory being used?


NOTE: I am not using any plugins, and only 3 small filter scripts.
__________________
Looking for a person who can make a good video and edit it well. PM me if you are interested!
Saurik is offline   Reply With Quote
Old 07/06/2010, 11:54 PM   #2
RealCop228
Godfather
 
Join Date: Feb 2010
Location: Springboro, OH
Posts: 8,274
Reputation: 669
Default Re: 1GB of Memory [Help]

Quote:
Originally Posted by Saurik
Hello guys!

Recently i moved to my friends Dedi [Dedicated server] Everything was going well. Out of nowhere, my server took up 1GB of memory on 2 weeks. I checked my files and they are only 5mb...

What causes this? What causes this huge amount of memory being used?
That seems odd. Are you sure your server did that, because the only thing that could do that is if you have like 300+ members? Right click on your entire server folder, select properties and see what it tells you the size is...
__________________
Putting [URGENT] in the thread title stops me from opening the thread. Nobody else's problem on this forum is more important that another person's. Try not to be self-centered!
RealCop228 is offline   Reply With Quote
Old 08/06/2010, 12:05 AM   #3
Saurik
High-roller
 
Saurik's Avatar
 
Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,269
Reputation: 253
Default Re: 1GB of Memory [Help]

its a memory problem, not diskspace.
__________________
Looking for a person who can make a good video and edit it well. PM me if you are interested!
Saurik is offline   Reply With Quote
Old 08/06/2010, 01:00 AM   #4
RealCop228
Godfather
 
Join Date: Feb 2010
Location: Springboro, OH
Posts: 8,274
Reputation: 669
Default Re: 1GB of Memory [Help]

Oh, yeah... You confused me. How much total RAM do you have, maybe it's not the server and your PC is sucking up more than you think...
__________________
Putting [URGENT] in the thread title stops me from opening the thread. Nobody else's problem on this forum is more important that another person's. Try not to be self-centered!
RealCop228 is offline   Reply With Quote
Old 08/06/2010, 01:06 AM   #5
Saurik
High-roller
 
Saurik's Avatar
 
Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,269
Reputation: 253
Default Re: 1GB of Memory [Help]

its not a pc.. its a dedicated server...
__________________
Looking for a person who can make a good video and edit it well. PM me if you are interested!
Saurik is offline   Reply With Quote
Old 08/06/2010, 02:59 AM   #6
RealCop228
Godfather
 
Join Date: Feb 2010
Location: Springboro, OH
Posts: 8,274
Reputation: 669
Default Re: 1GB of Memory [Help]

Quote:
Originally Posted by Saurik
its not a pc.. its a dedicated server...
Okay, what the hell does it matter? How much RAM do you have in the "dedicated server"?
__________________
Putting [URGENT] in the thread title stops me from opening the thread. Nobody else's problem on this forum is more important that another person's. Try not to be self-centered!
RealCop228 is offline   Reply With Quote
Old 08/06/2010, 03:04 AM   #7
Saurik
High-roller
 
Saurik's Avatar
 
Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,269
Reputation: 253
Default Re: 1GB of Memory [Help]

8GB
__________________
Looking for a person who can make a good video and edit it well. PM me if you are interested!
Saurik is offline   Reply With Quote
Old 08/06/2010, 08:01 AM   #8
MisterTickle
Huge Clucker
 
MisterTickle's Avatar
 
Join Date: Jul 2007
Posts: 375
Reputation: 52
Default Re: 1GB of Memory [Help]

Memory Leak maybe? I had a similar problem, It would probably be a good idea to make the script restart at like 4 AM daily or something, Just to refresh everything.
__________________
MisterTickle is offline   Reply With Quote
Old 08/06/2010, 12:22 PM   #9
iLinx
High-roller
 
Join Date: Jun 2009
Location: Toronto
Posts: 1,523
Reputation: 155
Default Re: 1GB of Memory [Help]

Check your script and your filterscripts, make sure your not creating any large amounts of variables inside functions or callbacks.
__________________
Servers in Arizona, Virginia, Quebec (Canada), United Kingdom, Netherlands. Over 12,000 served. Free cPanel web hosting is included with ALL servers. Facebook. Twitter.
iLinx is offline   Reply With Quote
Old 08/06/2010, 01:43 PM   #10
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,683
Reputation: 130
Default Re: 1GB of Memory [Help]

Pawn cannot have memory leak since it doesn't have dynamic memory. Making any huge arrays just fills up heapsapce and server crashes soon after.

Do you run any other services on your server except SA:MP server?
Sergei is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory MJ! Help Archive 7 06/04/2010 11:18 AM
Low memory fix magnusb Client Support 2 10/11/2009 08:21 PM
Memory? CBFASI Help Archive 1 07/07/2009 01:15 PM
Sa-mp 0.2x Low Memory Rainmaker General 27 26/06/2009 08:24 PM
[NL]Out of Memory Jokerr_mayne Help Archive 0 01/05/2009 06:38 PM


All times are GMT. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.