Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: Mötley on May 01, 2016, 09:52 PM

Title: Server.exe Memory issues.
Post by: Mötley on May 01, 2016, 09:52 PM
I have had this issue In both LU and VC:MP, I will receive a warning saying my virtual memory is running low after a decent amount of bug/script testing my servers.

I currently have 2.00 GB of virtual memory any suggestions?

Please do not crap on my specs this is a custom built PC that I have been wasting money on and had to go cheap in some areas as money went down hill

Any suggestions or what I should do would be liked or if its possible to fix this without updating anything?


I beleave the mobo Info is

EVGA-132-CK-NF79-B1-7R156-nForce-790i-Ultra-SLI-ATX-Intel-Socket-775

//Then some random specs
OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 3 Build 2600
OS Manufacturer Microsoft Corporation
System Manufacturer NVIDIA
System Model 132-CK-NF79
System Type X86-based PC
Processor x86 Family 6 Model 23 Stepping 7 GenuineIntel ~2666 Mhz// QUAD CORE "4 cpu's technically"
BIOS Version/Date Phoenix Technologies, LTD 6.00 PG, 3/15/2008
SMBIOS Version 2.4
Hardware Abstraction Layer Version = "5.1.2600.5512 (xpsp.080413-2111)"
Total Physical Memory 4,096.00 MB
Available Physical Memory 1.50 GB
Total Virtual Memory 2.00 GB
Available Virtual Memory 1.94 GB
Page File Space 4.59 GB
Title: Re: Server.exe Memory issues.
Post by: . on May 01, 2016, 10:01 PM
Finally, someone learning the pain of not releasing memory. Dem SQL statements won't clean themselves.

But hold on. Who's giving this warning?

Could you please download Process Explorer (https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx) and give us a print screen with all the running processes? So that we can see who's eating all the memory.
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 01, 2016, 10:05 PM
Quote from: . on May 01, 2016, 10:01 PMFinally, someone learning the pain of not releasing memory. Dem SQL statements won't clean themselves.

But hold on. Who gives this warning?

Could you please download Process Explorer (https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx) and give us a print screen with all the running processes? So that we can see who's eating all the memory.
This is not SQL related.


I am beginning to think either something is wrong in the registry or just how script data gets loaded to memory

LoL Well I will use this and if its embarrassing I wont upload. I will state if fixed.

Title: Re: Server.exe Memory issues.
Post by: Mötley on May 01, 2016, 10:12 PM
It Looks like I have some issues and a lot of work to do. Does not help I bought a IDE HDD goshh...

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

THANKS S.L.C

Once fixed do you think I should ever see this again?
Title: Re: Server.exe Memory issues.
Post by: . on May 01, 2016, 10:14 PM
Quote from: Mötley on May 01, 2016, 10:12 PMOnce fixed do you think I should ever see this again?

Dunno :-\
Title: Re: Server.exe Memory issues.
Post by: ysc3839 on May 02, 2016, 12:15 AM
Quote from: . on May 01, 2016, 10:01 PMFinally, someone learning the pain of not releasing memory. Dem SQL statements won't clean themselves.

But hold on. Who's giving this warning?

Could you please download Process Explorer (https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx) and give us a print screen with all the running processes? So that we can see who's eating all the memory.
FreeSQLQuery is a bad thing. Many people usually forget to release the query.(Including me.) And one day it will use up the server's memory
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 12:17 AM
Quote from: . on May 01, 2016, 10:14 PM
Quote from: Mötley on May 01, 2016, 10:12 PMOnce fixed do you think I should ever see this again?

Dunno :-\

I have removed some driver updater programs etc and began defragmenting the HDD in safe mode.

I think it's time to backup soon and get an SSD to store my operating system( as well as update my OS to either Windows 7 or Windows 8 )
then update to a sata 1tb as well. That's the real fix.

Would doing so mess up my encrypted UID because there is going to possibly be issues, as I can have up to 6 HDD'S stock, Ten HDD'S Once I get a new battery pack and a new harness :o. So I plan on getting 5 1tb like i intended in the first place and the ssd to store the operating system like internded.

hopefully no UID issues @Stormeus What happens If I have One SSD for my OS and three to four 1tb's for holding pc data, Will this affect UID issues?

Edit

Defragmenting is still going on, almost all the files were fragmented, now almost everything is Contiguous and the pc is more clean and efficient.. I will update tomorrow and do a lot of script testing to see what happens next.
Title: Re: Server.exe Memory issues.
Post by: Thijn on May 02, 2016, 05:45 AM
I don't see what a hard drive has to do with virtual memory...
You still haven't told us what process it eating all the memory. And until then we can't really help you.
Title: Re: Server.exe Memory issues.
Post by: Gudio on May 02, 2016, 11:15 AM
Quote from: Thijn on May 02, 2016, 05:45 AMI don't see what a hard drive has to do with virtual memory...
:o?
Title: Re: Server.exe Memory issues.
Post by: EK.IceFlake on May 02, 2016, 01:07 PM
Quote from: ysc3839 on May 02, 2016, 12:15 AM
Quote from: . on May 01, 2016, 10:01 PMFinally, someone learning the pain of not releasing memory. Dem SQL statements won't clean themselves.

But hold on. Who's giving this warning?

Could you please download Process Explorer (https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx) and give us a print screen with all the running processes? So that we can see who's eating all the memory.
FreeSQLQuery is a bad thing. Many people usually forget to release the query.(Including me.) And one day it will use up the server's memory
Strange, I never forget
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 02:02 PM
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FUhOmz3t.png&hash=29eb9463dad42fb323b8c981f67ba3f1eeffd0c6)
Title: Re: Server.exe Memory issues.
Post by: . on May 02, 2016, 02:29 PM
I remember I forgot Skype running in the background once and after some time I realized something was eating a lot of my memory. And when I looked, sure enough, Skype was eating 1GB+ and growing.
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 02:43 PM
I freaking always hated Skype. The only reason why I have it is due to the fact of certain scriptwriters that are impossible to contact.

Considering possibly removing as ever since I downloaded it has made my HDD work harder.

Anything else you see?

And thank you
Title: Re: Server.exe Memory issues.
Post by: Thijn on May 02, 2016, 03:54 PM
Quote from: Gudio on May 02, 2016, 11:15 AM
Quote from: Thijn on May 02, 2016, 05:45 AMI don't see what a hard drive has to do with virtual memory...
:o?
I could've been a bit more clearer. Filling up virtual memory, or just normal RAM for that matter, isn't due to a fragmented harddrive. It's because some program is eating all of it.
Sure, with a harddrive that's faulty or doesn't have enough free space left might also make that error, I find it unlikely that's the case here.

You have plenty of free memory left while not running the server. What happens when you do @Mötley ?
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 04:14 PM
Well Virtual Memory can get used when a HDD becomes fragmented. data goes every where, I can upload a link to this if liked.

I am busy at the moment but over time of script testing say I start the server.exe 30 Times in maybe 3 hours etc(lol). When time has passed is when I receive this message.

Could this have anything to do with scripts being stored in memory?" just a idea"
Title: Re: Server.exe Memory issues.
Post by: Thijn on May 02, 2016, 04:28 PM
If you keep closing and opening the server it doesn't sound like an memory leak in the server. Try looking at your process explorer to see what process did eat all your memory while it's ran out.
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 04:45 PM
Quote from: Thijn on May 02, 2016, 04:28 PMIf you keep closing and opening the server it doesn't sound like an memory leak in the server. Try looking at your process explorer to see what process did eat all your memory while it's ran out.

I will look into this and another thing is I actually have 6 gb of ram :o so sounds like something has died.
Title: Re: Server.exe Memory issues.
Post by: . on May 02, 2016, 04:53 PM
Quote from: Mötley on May 02, 2016, 04:45 PMI will look into this and another thing is I actually have 6 gb of ram :o so sounds like something has died.

Yes but it looks like you have XP and 32bit none the less. Therefore you can only use half your RAM.
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 02, 2016, 09:30 PM
So far after defraging  many times it has helped. (" many times as it never finishes all the data")
But other than that I have not seen any issues,, !Yet!. My hard drive use to make a lot of noise as well , Thats really quiet again,

This PC has always been really solid in performance, There should also never be any cpu issues at all as I have a quad core,(4 cpus)

I will update if this happens anytime soon. If not withing a month problem solved
 and locked
Title: Re: Server.exe Memory issues.
Post by: Mötley on May 07, 2016, 05:12 PM

Okay so after I noticed the more I have going on,

Internet Browser.( squirrel wiki and other methods online)
Server.exe.
Folder Directorys (I keep all of my servers in one file)
NotePad++.
Microsoft word/Excel
Client browser
Caculator.exe
Gta3 or Gtavc.exe (one or the other)

I will begin getting the message about virtual memory.

Cpu is only 15 % used and the temperature is at 58 Degrees F
Video card is 58 Degrees F with lazar. (256mb Needs to be upgraded but will do)
Mobo is averaging at around 60 Degrees F. Which is NICE

So Cpu is fine, Just not my ram, OS needs to be updated and within budget, Replace the IDE HDD with a sata (better speeds),

**I could use suggestions on the budget build, 

Seems I might need to update my battery pack as well do a voltage check in the wall socket, as the pc turns off randomly :( EEK