|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,110
Reputation: 239
|
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. |
|
|
|
|
|
#2 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 6,891
Reputation: 489
|
Quote:
|
|
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,110
Reputation: 239
|
its a memory problem, not diskspace.
|
|
|
|
|
|
#4 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 6,891
Reputation: 489
|
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...
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,110
Reputation: 239
|
its not a pc.. its a dedicated server...
|
|
|
|
|
|
#6 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 6,891
Reputation: 489
|
Quote:
|
|
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,110
Reputation: 239
|
8GB
|
|
|
|
|
|
#8 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2007
Posts: 364
Reputation: 6
|
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.
|
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: Toronto
Posts: 1,494
Reputation: 143
|
Check your script and your filterscripts, make sure your not creating any large amounts of variables inside functions or callbacks.
|
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Slovenia
Posts: 2,608
Reputation: 56
|
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? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 07: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 |