• 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-6702
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Showstopper Showstopper
Assignee: Unassigned
Reporter: eren padar
Votes: 15
Watchers: 1
Operations

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

Severe SL memory leak

Created: 19/Apr/08 02:17 PM   Updated: 05/Nov/08 08:07 AM
Return to search
Component/s: Crashes
Affects Version/s: 1.20 Release Candidate
Fix Version/s: None

Environment: ~ Added by Mythology: WinXP SP2
Issue Links:
Duplicate


 Description  « Hide
Second Life is undergoing a severe memory leak. I believe this is becoming common knowledge.

My system crashed today. At the time of the crash, it was registering consumption of 1,820,640 bytes of RAM.

This is an all-time high. In the past I have seen it up to 650 megs, even as high as 900+ megs, but never past a gig and never almost to 2 gigs.

Severe leak.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
mythology doesburg added a comment - 06/Jun/08 07:01 PM
To clarify, since I had this same problem, except the registered consumption was 2,784,442 bytes of RAM being occupied by the system.

This a Release Client issue since the latest patch. Second Life 1.20.9 (88980) Jun 3 2008 19:25:06 (Second Life Release Candidate)


eren padar added a comment - 06/Jun/08 09:12 PM - edited
In truth, this problem existed way before 1.20. I'm currently using 1.19, and experienced this problem long before even this version. The client-side memory leak has been a known problem for at least 6 months (which is when I became aware of it) and from what folks tell me, existed long before that. It's been around long enough that many consider it poor system management it hasn't been located and corrected.

Alexa Linden added a comment - 11/Jun/08 04:08 PM

eren padar added a comment - 11/Jun/08 08:16 PM - edited
There is no indication in VWR-2997 that this problem has been resolved or fixed. The latest post to that thread indicates the problem still exists, and that post is marked SHOWSTOPPER. Thus, I am also changing the level of this post to showstopper. A severe memory leak that causes the client to continually crash and severe lag is about as close to affecting everyone on the grid as a problem can come.

Harleen Gretzky added a comment - 11/Jun/08 08:43 PM
This was resolved as a duplicate of VWR-2997, why would "There is no indication in VWR-2997 that is problem has been resolved or fixed." matter? I would think when it comes to duplicates, a lot of the JIRA's they duplicate would be unresolved.

eren padar added a comment - 11/Jun/08 10:44 PM - edited
Ah I understand now. I misunderstood the original posting.

You know what I think is the problem Harleen? Linden Lab's inaccurate choice of the word "resolved" for such issues. The matter is not "resolved" if the issue still exists. They may consider this post resolved, but surely they could think of a better word. Even "Closed" would be preferrable. Resolved makes people think the matter has been corrected... and this one certainly has not.


Harleen Gretzky added a comment - 12/Jun/08 03:59 AM
Yes, it has been proposed that that be changed (WEB-247), to be fair though it is the makers of JIRA that choose this definition of resolved.

Steve Linden added a comment - 17/Jun/08 10:58 AM
We have been investigating memory leaks for some time now. We have fixed a few, including a severe one that will be fixed in 1.21. It is unlikely that this will be "resolved" any time soon entirely. What would be more helpful than pointing out that there are leaks (we know that), would be specific reproducible circumstances that reveal rapid measurable memory leaks. We will be including some debug options to assist with this in 1.21.

wayfinder wishbringer added a comment - 17/Jun/08 12:13 PM - edited
Greetings Steve. As a systems analyst from way back, here would be my suggestions:

The memory leak is fairly rapid (not sudden, but progressive over a limited time), so the actual phenomena should be easily observable. The only way to trace this leak will be to set up an access computer by the testing and measuring equipment, and start playing Second Life. Have one person watch (and record) the stats while the other person uses numerous aspects of Second Life.

Here are some things I would try:
1. Use Windows Task Manager to track memory use of Second Life.
2. Teleport to 4 or 5 sims and see if the teleporting causes the leak.
3. Visit a mall and access a few dozen textures and see if SL is handling texture access and dumping properly (I think it's not. IMO the entire texture process needs to be examined and rebuilt.).
4. Build some things, take copies to inventory, then delete them from the sim.
5. Upload a couple dozen textures, sounds, animations (I doubt the sounds and animations are involved... but leave no stone unturned).

In all of this take before, during and after memory measurements, along with documentation as to what was just done. This methodology is the first step toward discovering WHERE the leak is occuring. Once you have discovered the primary direction, you can start ferreting out the source... and the solution. Most likely it's a piece of foundation software that isn't behaving properly.

This method will take between 2 to 8 hours do to properly, and may have to be reapeated, so don't expect quick results. But as many problems as this leak causes, the time spent in hunting it down will be well spent.


foo foden added a comment - 13/Jul/08 09:59 AM
A friend of mine was having horrible memory leaks every 20-30 mins.. turned out it was a greifing program she bought. Its called the DG Lagmaster 5000.

Deej Coakes added a comment - 13/Jul/08 10:51 AM
Still get these horrendous leaks even after a 3 month haitus. On a macbook pro, was using first look which never had this problem for some reason, however release client's always have caused a severe leak to the point of a hard reset.

Husky Kohime added a comment - 01/Sep/08 10:42 AM
Running an Intel Core 2 Quad, After Updating all of my drivers. i came into watching the amount of RAM SL was Taking up.
Within 5 to 10 minits. the program Hits over a Gig in Use. (Standing Still)

Sherilyn Loring added a comment - 06/Sep/08 12:43 PM
same here. within a few minutes the ram is so high it locks the screen - and yes it can happen standing still looking at a white wall. running 2- 3.4gig pentium 4, and yes from above i am contantly watching my task manager to watch the memory go up. i can drop screen and reduce program memory usage, but Ram/VM will not reduce.

Kitti Vella added a comment - 06/Oct/08 10:14 AM
I agree. There is major memory leak at least in 1.20 series. I am using latest release version (1.20.16) and it seems to be leaking memory at a speed of 1MB per 2 seconds or so.

Lorenn Pera added a comment - 09/Oct/08 09:10 AM
Had a major memory leak just standing in one spot , not building nor doing anything using version 1.20.17(98669).
Ram was low and steadily began to rise again not moving or tp'ing. Loaded task manager and watched memory rise
this really needs to be fixed.

Calia Heartsdale added a comment - 02/Nov/08 10:19 AM
I've discovered that when SL is minimized the leak slowly fills up my memory until it crashes, which takes about an hour or so. So far, with it maximized, the memory is fluctuating with a slower increase. I'll keep an eye out on my processes and report what I find. Ver 1.20 seems to be worse for the leak than the 1.19 viewer.

Here's what I'm running:

Second Life 1.21.6 (99587) Oct 14 2008 17:42:25 (Second Life Release)
Release Notes

You are at 280841.4, 262472.2, 33.1 in Quantum Acres located at sim5789.agni.lindenlab.com (8.2.35.91:13002)
Second Life Server 1.24.9.98659
Release Notes

CPU: Intel Core 2 Series Processor (2400 MHz)
Memory: 2048 MB
OS Version: Microsoft Windows XP Service Pack 3 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 9600 GT/PCI/SSE2
OpenGL Version: 2.1.2


Bridie Linden added a comment - 03/Nov/08 12:29 PM
Calia, the memory issue w/SL minimized was reported in VWR-8610 — if you're still seeing it, could you re-open and add info there?
Thx!

Alexa Linden added a comment - 05/Nov/08 08:07 AM
Dup of VWR-2997.