• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-2477
Type: Bug Bug
Status: Reopened Reopened
Priority: Critical Critical
Assignee: Unassigned
Reporter: Funk Schnook
Votes: 28
Watchers: 13
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

High memory usage after short periods of use

Created: 15/Sep/07 04:33 PM   Updated: 14/Oct/08 04:39 AM
Return to search
Component/s: Performance
Affects Version/s: 1.18.3 Release Candidate, 1.19.1 Release Candidate
Fix Version/s: None

File Attachments: None
Image Attachments:

1. nicholaz-mem-usage-BleedingEdge-n-rc1.18.3.4.jpg
(26 kB)

2. sl-mem-usage-1.18.0.6.jpg
(27 kB)

3. sl-mem-usage-rc1.18.3.4.jpg
(56 kB)

4. sl-mem-usage2-rc1.18.3.4.jpg
(31 kB)
Environment:
Second Life 1.18.3 (4) Sep 14 2007 10:34:52 (Second Life Release Candidate)

You are at 240460.6, 242440.2, 425.2 in FNKY Cake located at sim4811.agni.lindenlab.com (63.210.159.207:13004)
Second Life Server 1.18.2.0

CPU: Intel Core 2 Series Processor (2405 MHz)
Memory: 2048 MB
OS Version: Microsoft Windows XP Service Pack 2 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GTS/PCI/SSE2
OpenGL Version: 2.1.1
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 11/2922 (0.4%)
Viewer Digest: d8810deb-7e80-9731-c75a-ff7d36a26503
Issue Links:
Duplicate
Relates

Linden Lab Issue ID: SL-55220


 Description  « Hide
(1.19.0 Release Candidate)I ran client 1.18.0(6) for 10 hours yesterday and memory usage didn't exceed about 800MB. I have been running 1.18.3(4) today for 2 hours and my task manager is showing 1.4GB of mem usage and 1.5GB of Virtual memory usage. I can feel this new client start to slow down after an hour or so and really making my machine struggle.

My graphics settings are the same as the older client. I set it to 256MB of VRAM after reading some info here that it helps SL use less memory overall.

Is this a new memory leak?



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Funk Schnook added a comment - 15/Sep/07 06:27 PM
OK I just left the viewer running for an hour sitting in my skybox not even moving. Mem usage is pretty high for doing nothing right? (as seen in sl-mem-usage2-rc1.18.3.4.jpg)

Funk Schnook added a comment - 17/Sep/07 02:27 AM
I just attached another screenshot of my task manager running 1.18.0.6 for an hour. The mem usage is only about 300MB compared to 1.18.3s 1.2GB. There is a huge difference here.

Both clients are using exactly the same settings. I ran both clients for an hour simply sitting my av in my skybox.


Nicholaz Beresford added a comment - 20/Sep/07 06:53 AM

Funk, could you try this with one of my viewers based on the RC (18xm or later)?
You'll find them here http://nicholaz-beresford.blogspot.com/


Funk Schnook added a comment - 20/Sep/07 01:49 PM
I just tested Nicholaz's viewer for an hour (BleedingEdge-n based on 1.18.3(4)) and dont see this massive memory leak.

His viewer's memory usage is much closer to 1.18.0.6 (check my screenshot)


Bridie Linden added a comment - 26/Sep/07 08:44 AM
Our QA was unable to repro.

Funk Schnook added a comment - 26/Sep/07 08:33 PM
I have a bit more info. I had all the clients set to a 512 draw distance (I do this regularly), so being 500M up didnt really make a difference. I was still loading every avatar texture of people tping into the sim. The sim also gets quite busy. If you want to repro this, I suggest doing it on my sim "FNKY Cake" between 11am and 4pm SLT when its busiest.

I can repro this every time, and it doesn't even take an hour to get to the state mentioned above. It happens within the first 15 minutes or so


Nicholaz Beresford added a comment - 27/Sep/07 04:53 AM

Well, given the fact that it doesn't seem to occur in my viewer and what Funk says there with the busy sim, I may add that there is a memory leak (memory actually lost) and a memory bubble (memory added to a list infinitely, not forgotten but also not flushed) in the viewer. The first is there since Voice, the 2nd is there for a long time ... there was a patch by me for the 2nd which collided with changes that happened in Voice (actually with exactly the change which also caused an additional leak).

Repro: Just go to any busy sim with lots of people and animations (Bad Girls for example), ideally many people passing through (new ones coming and going). Or of course the one Funk suggested.

Soft Linden has more details on the leaking etc., otherwise feel free to ask.


Seg Baphomet added a comment - 01/Oct/07 01:56 PM
I've seen this on every viewer after 1.18.0.6 on x86_64. It seems to be leaking VBOs. Try turning off VBO and see if that helps?

Funk Schnook added a comment - 01/Oct/07 02:51 PM
Seg, yeah someone mentioned that and I tried it. It didnt help.

Nicholaz has fixed this in his viewer though. Is there any reason why his patch cant be used?


Funk Schnook added a comment - 17/Nov/07 09:47 PM
Im getting this issue in windlight too. I use a draw distance of 512 and within the hour, my task manager reports over 1GB of mem usage. Once again, Im on a semi popular sim where many avs are coming in and out (I think this has something to do with it)

Torley Linden added a comment - 19/Nov/07 10:15 AM
Removed "WindLight": A "First Look" version should ONLY be selected if the issue only affects that version.

Mojo Yates added a comment - 14/Dec/07 03:04 PM
Hi!

I have bought a dual core CPU (AMD X2 6000+, AsRock AliveXFire-eSATA2 Motherboard, 2 GB RAM) yesterday and have the same problem since i run SL on my dual core PC. (No problems on my old AMD X64 3000+ on a Asus board) The increasing of memory usage is a bit slower when i limit the client to one CPU.
But it's still increasing till my PC freezes.

I hope this comment helps

Mojo


Rascal Ratelle added a comment - 24/Jan/08 05:12 PM
Torley, this effects windlight too.

Hardware Overview:

Machine Name: iMac
Machine Model: PowerMac6,1
CPU Type: PowerPC G4 (3.3)
Number Of CPUs: 1
CPU Speed: 1.25 GHz
L2 Cache (per CPU): 256 KB
Memory: 768 MB
Bus Speed: 167 MHz
Tiger 10.4.11

GeForce FX 5200:

Chipset Model: GeForce FX 5200
Type: Display
Bus: AGP
VRAM (Total): 64 MB
Vendor: nVIDIA (0x10de)
Device ID: 0x0329
Revision ID: 0x00a2
ROM Revision: 2068


Rascal Ratelle added a comment - 05/Feb/08 03:08 AM
Removed Windlight Torley.

tek revnik added a comment - 10/Mar/08 06:17 AM
I am also having the same symptoms as described above. At my home location, seems to run smooth as silk. As soon as I teleport to a busier place, a steady decrease in performance. Within 20, not uncommon for a gig of ram to become utilized. This happens with the most recent candidate release as well as the prior. Both Windlight and regular viewers.

HELP!
Please, at least give us an idea of plan/progress/status toward this issue.

Model Name: iMac
System Version: Mac OS X 10.5.2 (9C31)

Model Identifier: iMac6,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.33 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 3 GB
Bus Speed: 667 MHz

Chipset Model: NVIDIA GeForce 7600 GT
Type: Display
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)


Misti Ruska added a comment - 18/Mar/08 04:17 PM
I have this same issue. RAM usage steadily increases from around 250MB upto 1.2GB over a 90 minute time period. I then quit and return to regain the excessive memory.

At the moment RAM usage after 20 minutes log on time is at 723MB.

Second Life 1.19.0 (5) Feb 28 2008 17:18:12 (Second Life Release)

You are at 189567.8, 259871.4, 35.3 in Hathian located at sim5625.agni.lindenlab.com (8.2.34.181:12035)
Havok4 Beta Server 1.19.1.82040

CPU: AMD (Unknown model) (2010 MHz)
Memory: 2048 MB
OS Version: Microsoft Windows XP Service Pack 2 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 6200 TurboCache(TM)/PCI/SSE2/3DNOW!
OpenGL Version: 2.0.3
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 341/126662 (0.3%)
Viewer Digest: 6b1bac12-2a86-e1f2-aa5e-3108db5c8eeb


Azadine Umarov added a comment - 20/Mar/08 07:12 AM
Moving my comments to this issue, as the more appropriate one. Formerly re-opened under VWR-364 out of ignorance and haste.

Description of issues remains the same for now. Seeming memory management anomalies and crashiness persist in 1.19.1 RC1 as of 20 Mar 08.

Am wondering if memory leakage has worsened under 1.19.1 RC0 – Page file is now nearing 2 GB on my (older) system. It's almost always been large, but leaks were addressed with some success when this issue originally surfaced back in Spring/Summer 2007. It seems like probable new leaks are emerging as the present 1.19.1 (0) Release Candidate seems to become increasingly unstable and slow with time online. Then again, it could be my boat anchor of a machine, running Win XP SP2 with a mere 1GB of RAM. Still, the new RC seems pretty fast and stable when first loaded, and that page file does seem to keep creeping up in size over time. I've been mainly messing with the new media calls via LSL, so it's also possible (I'd guess) that the root of the problem lies in this first hack at expanding the uses of Parcel Media streams to handle Webpage display on a prim. Perhaps the leak is in how I am calling pages, loading them, and refreshing the same page repeatedly by way of calls to the parcel media functions in LSL?

Also, the crash logger has gotten a habit lately of getting into an infinite loop when it says that it's transmitting logs, and eventually has to be terminated manually in most instances. Crashes, though, are not a universal experience with this RC. At least not for my installation.


Nightwind Redgrave added a comment - 20/Aug/08 02:31 PM - edited
I am crashing to blue screen after 45 minutes to 1 hour of use. More often if I am building and using textures heavily.
I would have added the crash log, but evidently one was not created by the SL client as it hit blue screen. When I logged back in I was not given the option of sending a crash report. Apparrently the log is just created if the client crashes without going to blue screen.

Second Life 1.20.15 (92456) Jul 18 2008 10:58:42 (Second Life Release)

CPU: Intel Core 2 Series Processor (1828 MHz)
Memory: 4094 MB
OS Version: Microsoft Windows Vista Service Pack 1 (Build 6001)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800M GTS/PCI/SSE2
OpenGL Version: 2.1.2
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.17495 (Mozilla GRE version 1.8.1.13_0000000000)


saera pfeffer added a comment - 08/Sep/08 09:17 AM - edited
I have the same issue as posted above.

Spoke with my PC manufacturer, and bought 2 GB more RAM just to try and eliminate the out of memory error.
Its not the PC, not the OS, its the Application, according to the techs who Diag'd my machine, while running SL.
And Im actually running with 4GB though in Vista 32Bit

CPU: Intel Pentium III/Pentium III Xeon (0.25 micron process) with external L2 cache (2666 MHz)
Memory: 2813 MB
OS Version: Microsoft Windows Vista Service Pack 1 (Build 6001)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: /PCI/SSE2
OpenGL Version: 2.1.2
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.17946 (Mozilla GRE version 1.8.1.13_0000000000)
Packets Lost: 0/9140 (0.0%)


Molly Linden added a comment - 13/Sep/08 01:12 PM
Support ticket from resident Loki Ball unable to access Jira system:

"I continue to get memory spikes that remain at 100% on my cpu. It doesn't matter if I set the affinity or not. It will spike at 100% and just hold that. Doesn't matter if I relog, doesn't matter if I clear cache. None of that works. Reinstalling doesn't help at all either as I'm sure your fully aware of already. I'm actually looking for a working solution to this so I don't end up frying another system using SL. Here are some of the specs on my system..

CPU: AMD (Unknown model) (2611 MHz)
Memory: 3070 MB
OS Version: Microsoft Windows Vista Service Pack 1 (Build 6001)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GS/PCI/SSE2/3DNOW!
OpenGL Version: 2.1.2
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.17852 (Mozilla GRE version 1.8.1.13_0000000000)"