gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: big memory leak in GSString


From: Tom Davie
Subject: Re: big memory leak in GSString
Date: Mon, 7 Jan 2013 22:00:40 +0000

On 7 Jan 2013, at 21:11, Pirmin Braun <address@hidden> wrote:

> Dear Developers,
> 
> in Rev 23291 of GSString when you create Strings with [NSArray 
> componentsSeparatedByString:] the resulting GSCSubString objects have a 
> retain-count of 2 (see attached code). With WebObjects on Windows the 
> retain-count is 1. This makes a 200 MB difference when starting our App. 
> Is this a known bug? Maybe fixed in newer Revs? I've scanned the svn log but 
> found nothing appropriate.

Retain count means nothing.  It may well have a retain count of 2, but be in 
the autorelease pool twice.  Can you confirm that these actually are never 
released, and provide a small test case that demonstrates it?

Thanks

Tom Davie


reply via email to

[Prev in Thread] Current Thread [Next in Thread]